(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/practice/components/practice-chargeItem-deduction-step/practice-chargeItem-deduction-step-view.html','<div class="step-product-container">    <style type="text/css">        .step-product-container {        }            .step-product-container .step-title {                margin: 0px 0px;                font-weight: normal;                background-color: #f7fbff;                border-bottom: 1px solid #e3e3e3;            }            .step-product-container .btn-add-product {                color: #00a6c9;                width: 79px;                height: 22px;                background-color: white;                border-color: #00a6c9;                line-height: 8px;                border-radius: 0px;                margin-left: 5px;                padding-left: 10px;            }            .step-product-container .step-row-item {                display: inline-block;                vertical-align: middle;            }            .step-product-container .one-line {                vertical-align: middle;                overflow: hidden;                text-overflow: ellipsis;                white-space: nowrap;            }            .step-product-container .table-header {                height: 32px;                background-color: #f4f4f4;                border: none;                padding-top: 5px;                margin-bottom: 11px;            }                .step-product-container .table-header th {                    text-align: center;                }            .step-product-container .tr-product {                background: #ffffff;                border: 1px solid #e3e3e3;                height: 48px;            }                .step-product-container .tr-product td {                    text-align: center;                    font-size: 14px;                    color: #575d6a;                    letter-spacing: 0;                    line-height: 14px;                }    </style>    <div class="form-group step-title">        <div style="padding: 0 0 5px 15px;">            <label class="step-item text-font">治疗步骤：</label>            <label class="step-item-value text-font">{{deductionStep.stepName}}</label>            <label class="step-item text-font">划扣比例：</label>            <label class="step-item-value text-font">{{deductionStep.stepRatio}}%</label>            <label class="step-item text-font">多次划扣：</label>            <label class="step-item-value text-font">{{deductionStep.isRepeatable ? \'是\' : \'否\'}}</label>        </div>        <div style="padding-left: 15px;">            <div class="step-row-item" ng-if="isShowAutoDeductionExecute">                <label class="step-item text-font">自动执行：</label>                <label class="step-item-value text-font">{{deductionStep.isAutoExecute? \'是\':\'否\'}}</label>            </div>            <div class="step-row-item">                <label class="step-item text-font">关联随访规则：</label>                <label class="step-item-value text-font">                    <input type="text" kendo-drop-down-list                           ng-disabled="!isChargeItemEditAllowed"                           ng-model="deductionStep.followupRuleId"                           k-data-source="followupRuleLites"                           k-data-text-field="\'name\'"                           k-data-value-field="\'id\'"                           k-filter="\'contains\'"                           style="width:140px;" />                </label>            </div>        </div>    </div>    <div class="form-group" style="margin-left:15px;" ng-if="isConnectYongyouHrp">        <label class="step-item text-font">使用耗材：{{isContainProducts?" ":" 无"}}</label>        <button class="btn btn-add-product"                ng-if="!isShowProductTable"                ng-click="showProductTable()"                ares-disable-when-parent="ChargeItem">            新建耗材        </button>        <table ng-if="isShowProductTable" style="width:96%; margin:6px 15px 0px 0px">            <tr class="table-header" style="margin-bottom:10px;">                <th style="width:39%;">规格名称</th>                <th style="width:10%;">品牌</th>                <th style="width:10%;">规格</th>                <th style="width:10%;">单位</th>                <th style="width:21%;">默认使用数量</th>                <th style="width:10%;">操作</th>            </tr>        </table>        <table ng-if="isShowProductTable" style="width:96%; margin:6px 15px 0px 0px">            <tr ng-repeat="product in deductionStep.stepProducts" class="tr-product">                <td style="width:39%; max-width:250px" class="one-line" title="{{product.product.name}}">{{product.product.name}}</td>                <td style="width:10%; max-width:63px;" class="one-line" title="{{product.product.producer}}">{{product.product.producer}}</td>                <td style="width:10%; max-width:63px;" class="one-line" title="{{product.product.specification}}">{{product.product.specification}}</td>                <td style="width:10%; max-width:63px;" class="one-line" title="{{product.product.unit}}">{{product.product.unit}}</td>                <td style="width:21%;">                    <div class="input-group" style="width:76px;display:inline-block;vertical-align:middle;font-size:0;">                        <span class="input-group-btn" style="width:19px;float:left;height:24px;">                            <button class="btn btn-default" ng-click="onEditTakeCount(product,-1)"                                    type="button" style="border-right: 0;width:19px;text-align:center;height:24px;padding:0px;font-size:16px;"                                    ares-disable-when-parent="ChargeItem">                                -                            </button>                        </span>                        <input type="text" class="form-control default-count"                               ng-model="product.defaultCount" ng-keydown="onListenNumber($event)"                               style="width:38px;display: inline-block;vertical-align: middle;text-align:center;float:left;height:24px;font-size:14px;padding:0px"                               ares-disable-when-parent="ChargeItem">                        <span class="input-group-btn" style="width:19px;float:left;height:24px;">                            <button class="btn btn-default" ng-click="onEditTakeCount(product,1)"                                    type="button" style="border-left: 0;width:19px;text-align:center;height:24px;padding:0px;font-size:16px;"                                    ares-disable-when-parent="ChargeItem">                                +                            </button>                        </span>                    </div>                </td>                <td style="width:10%;">                    <a data-toggle="tooltip" data-placement="top" data-original-title="删除"                       ng-click="deleteDeductionStepProduct(product.product.id)"                       ares-disable-when-parent="ChargeItem">                        <span class="glyphicon glyphicon-trash" style="color:#575d6a;"></span>                    </a>                </td>            </tr>        </table>        <div class="tr-product" ng-if="isShowProductTable" style="width:96%; margin-right:15px;margin-top:-1px">            <div class="procurement-plan-item-search-item" style="margin-left:26px; margin-top:6px;">                <div class="form-group">                    <input class="form-control step-products search-products"                           style="width:500px;max-width:100%;"                           ng-keydown="onListenNumber($event)"                           ares-disable-when-parent="ChargeItem" />                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/components/practice-payment-scenario-config/practice-payment-scenario-config-view.html','<div class="payment-scenario-config-wrapper">    <style type="text/css">        .payment-scenario-config-wrapper .report-rule {            width: 90%;            border-spacing: 0;            border-collapse: collapse;            border: 1px solid #CFDBDD;        }            .payment-scenario-config-wrapper .report-rule thead tr {                height: 32px;            }            .payment-scenario-config-wrapper .report-rule tbody tr {                height: 38px;            }            .payment-scenario-config-wrapper .report-rule td {                padding-left: 5px;            }            .payment-scenario-config-wrapper .report-rule thead {                background-color: #00A6C9;                font-family: PingFangSC-Regular;                font-size: 14px;                color: #FFFFFF;            }            .payment-scenario-config-wrapper .report-rule th {                padding-left: 5px;            }            .payment-scenario-config-wrapper .report-rule .ok-tag {                color: #00A6C9;            }            .payment-scenario-config-wrapper .report-rule .cancel-tag {                color: red;            }    </style>    <table class="report-rule" border="1" cellpadding="0" cellspacing="1">        <thead>            <tr>                <th style="width:40%">规则名称</th>                <th style="width:20%">现金流</th>                <th style="width:20%">营业收入</th>                <!--<th style="width:20%">优惠金额</th>-->            </tr>        </thead>        <tbody>            <tr ng-repeat="config in scenarioConfigs">                <td>{{config.scenarioName}}</td>                <!--现金流-->                <td>                    <div style="margin-bottom: 5px;" ng-if="isOnlyShow">                        <i ng-class="config.isInCashFlow?\'iconfont icon-queren ok-tag\':\'iconfont icon-quxiaotuichu cancel-tag\'"></i>                        <span class="item-detail">计入</span>                    </div>                    <div style="margin-bottom: 5px;" ng-if="!isOnlyShow">                        <input type="checkbox" class="enyo-checkbox"                               ng-model="config.isInCashFlow"                               ng-disabled="!config.isEnabled"                               id="{{\'isInCashFlow\'+config.scenario}}">                        <label class="enyo-checkbox-label" for="{{\'isInCashFlow\'+config.scenario}}">                            计入                        </label>                    </div>                </td>                <!--营业收入-->                <td>                    <div style="margin-bottom: 5px;" ng-if="isOnlyShow">                        <i ng-class="config.isIncome?\'iconfont icon-queren ok-tag\':\'iconfont icon-quxiaotuichu cancel-tag\'"></i>                        <span class="item-detail">计入</span>                    </div>                    <div style="margin-bottom: 5px;" ng-if="!isOnlyShow">                        <input type="checkbox" class="enyo-checkbox"                               ng-model="config.isIncome"                               ng-disabled="!config.isEnabled"                               id="{{\'isIncome\'+config.scenario}}">                        <label class="enyo-checkbox-label" for="{{\'isIncome\'+config.scenario}}">                            计入                        </label>                    </div>                </td>                <!--优惠金额-->                <!--<td>                    <div style="margin-bottom: 5px;">                        <input type="checkbox" class="enyo-checkbox"                               ng-model="config.isInCashFlow"                               id="{{\'isInCashFlow\'+config.scenario}}">                        <label class="enyo-checkbox-label" for="{{\'isInCashFlow\'+config.scenario}}">                            计入                        </label>                    </div>                </td>-->            </tr>        </tbody>    </table></div>');templateCache.put('/app/practice/components/practice-payment-type-category-description/practice-payment-type-category-description-view.html','<div class="payment-category-desp-warpper">    <style type="text/css">        .payment-category-desp-warpper {            background: #F1F3F7;            border: 1px solid #CFDBDD;            margin-right: 10px;            padding: 5px;        }            .payment-category-desp-warpper .info-title {                font-family: PingFangSC-Semibold;                font-size: 14px;                color: #2F2F2F;                font-weight: bold;            }            .payment-category-desp-warpper .info-context {                font-family: PingFangSC-Regular;                font-size: 14px;                color: #575D6A;                letter-spacing: 0;            }            .payment-category-desp-warpper .separator-line {                border-top: #00686b 1px dashed;                overflow: hidden;                height: 1px;                margin: 10px 0px;            }            .payment-category-desp-warpper .payment-type-tag {                float: left;                margin-right: 5px;                margin-bottom: 5px;                background: #FFFFFF;                font-size: 12px;                color: #666A73;                letter-spacing: 0;                text-align: center;                padding: 5px;            }    </style>    <div ng-show="currentCategoryName == \'现金类实收\'">        <p class="info-title">什么是现金类实收支付方式？</p>        <p class="info-context">            1. 现金类实收类型下的支付方式即现金等价物，如微信支付宝及银行卡账户支付，该类型支付方式可用于诊疗服务消费账单支付，支付金额计入当日现金流。是否计收入取决于诊所是否启用划扣设置，更多参考帮助中心说明；        </p>        <p class="info-context">            2. 只有该类型下的支付方式可以用作预收类项目收费（如储值卡充值），且实收金额只计入现金流，不计入收入；        </p>        <p class="info-context">            3. 对计销售成本但不可按次数分摊成本的卡券销售项目，采取一次性计入当日现金流和诊疗服务收入的方式，如不限使用次数的折扣卡等。        </p>        <div class="separator-line"></div>    </div>    <div ng-show="currentCategoryName == \'预收款使用\'">        <p class="info-title">什么是预收款使用支付方式？</p>        <p class="info-context">            1. e看牙默认提供了以下几种预收款使用类型的支付方式：会员卡/储值卡充值本金、现金券本金、不记名卡本金 ；        </p>        <p class="info-context">            2. 该类型支付方式可用于诊疗服务消费账单支付，支付金额计入诊疗服务收入，不再计入现金流；        </p>        <div class="separator-line"></div>    </div>    <div ng-show="currentCategoryName == \'支付优惠\'">        <p class="info-title">什么是支付优惠支付方式？</p>        <p class="info-context">            1. e看牙默认提供了以下几种支付优惠类型的支付方式：会员积分、会员卡/储值卡充值馈赠金、不记名卡馈赠金；        </p>        <p class="info-context">            2. 该类型支付方式可用于诊疗服务消费账单支付，支付金额计入当日销售总折扣金额，不计入现金流，也不计入诊疗服务收入，通过财务中心报表-卡券消耗报表可以统计历史营销费用支出；        </p>        <p class="info-context">            3. 现金券销售折扣（馈赠金）、不可按使用次数分摊成本的卡券预收款销售折扣金额支付时无需手动选择，卡券消费抵用时将依据最新的项目价格自动计算销售折扣；        </p>        <div class="separator-line"></div>    </div>    <div ng-show="currentCategoryName == \'平台结算\'">        <p class="info-title">什么是平台结算支付方式？ </p>        <p class="info-context">            如支付宝标品（e看牙默认），该类支付方式适用于平台方跟诊所T+n的结算类型，可通过财务中心报表-交易明细报表中的支付方式类型进行收入查询；        </p>        <div class="separator-line"></div>    </div>    <div ng-show="false">        <p class="info-title">什么是自定义类型支付方式？</p>        <p class="info-context">            1. e看牙为满足机构业务的灵活扩展，支持用户自定义支付方式类型；        </p>        <!--<p class="info-context">            2. 该方式目前只支持e看牙旗舰版本。        </p>-->        <div class="separator-line"></div>    </div>    <span>当前已存在同类型支付方式</span>    <div class="row" style="margin-left:15px;">        <div class="payment-type-tag" ng-repeat="paymentType in currentCategoryPaymentTypes">            {{paymentType.name}}        </div>    </div></div>');templateCache.put('/app/practice/components/practice-payment-type-config/practice-payment-type-config-view.html','<div class="payment-type-config-item">    <div class="enabled-config">        <a style="margin-left: 5px; display: inline-block; margin-top: 3px; vertical-align: middle;"            ng-click="onSwitchClick()" ares-disable-when-parent="ChargeItem">            <i ng-class="paymentTypeConfig.isEnabled? \'switch on\':\'switch off\'"></i>        </a>    </div>    <div class="other-config">        <label style="margin-bottom:5px;">            <input id="{{isInCashflowCheckboxId}}"                   type="checkbox" style="margin-right:5px;"                   class="enyo-checkbox"                   ng-true-value="true"                   ng-false-value="false"                   ng-model="paymentTypeConfig.isInCashFlow"                   ng-disabled="!paymentTypeConfig.isEnabled || !isEditAllowed(paymentType) || isDisabled"                   ng-click="onInCashFlowClicked()"                   ares-disable-when-parent="ChargeItem" />            <label class="enyo-checkbox-label" for="{{isInCashflowCheckboxId}}">计入现金流</label>        </label>        <br />        <label style="margin-bottom:5px;">            <input id="{{isInComeCheckboxId}}"                   type="checkbox" style="margin-right: 5px;"                   class="enyo-checkbox"                   ng-true-value="true"                   ng-false-value="false"                   ng-model="paymentTypeConfig.isIncome"                   ng-disabled="!paymentTypeConfig.isEnabled || !isEditAllowed(paymentType) || isDisabled"                   ng-click="onInComeClicked()"                   ares-disable-when-parent="ChargeItem" />            <label class="enyo-checkbox-label" for="{{isInComeCheckboxId}}">计入营业收入</label>        </label>        <br />        <label ng-if="paymentTypeConfig.scenario == 1">            <input id="{{isInPerformanceboxId}}"                   type="checkbox" style="margin-right: 5px;"                   class="enyo-checkbox"                   ng-true-value="true"                   ng-false-value="false"                   ng-model="paymentTypeConfig.isInPerformance"                   ng-disabled="!paymentTypeConfig.isEnabled || !isEditAllowed(paymentType) || isDisabled"                   ng-click="onInComeClicked()"                   ares-disable-when-parent="ChargeItem" />            <label class="enyo-checkbox-label" for="{{isInPerformanceboxId}}">计入绩效</label>        </label>        <!--<label ng-if="paymentTypeConfig.scenario == 1">            <input type="checkbox" style="margin-right: 5px;"                   ng-true-value="true"                   ng-false-value="false"                   ng-model="paymentTypeConfig.isInPerformance"                   ng-disabled="!paymentTypeConfig.isEnabled || !isEditAllowed"                   ng-click="onInPerformanceClicked()"                   ares-disable-when-parent="ChargeItem" />            <span>计入绩效</span>        </label>-->    </div></div>');templateCache.put('/app/practice/components/practice-payment-type-group/practice-payment-type-group-view.html','<div class="payment-type-group-wrapper">    <table class="payment-type-table">        <tbody>            <tr ng-show="!paymentTypes || paymentTypes.length == 0">                <td colspan="6">                    没有此类型的支付方式                </td>            </tr>            <tr ng-repeat="paymentType in paymentTypes track by $index"                ng-show="!hiddenPaytypeNames || hiddenPaytypeNames.indexOf(paymentType.name)<0">                <td style="width:13%">{{paymentType.code}}</td>                <td style="width:13%">{{paymentType.name}}</td>                <td style="width:25%">{{paymentType.notes}}</td>                <td style="width:11%;" class="td-switch">                    <div class="config-on-off config-on">                        <input type="checkbox" class="enyo-checkbox-switcher"                               ng-checked="!paymentType.isDisabled">                        <label class="enyo-checkbox-switcher-label"                               ng-click="switchPaymentTypeEnabled(paymentType)">                            &nbsp;                        </label>                    </div>                </td>                <td style="width:11%" class="td-switch">                    <i ng-class="paymentType.isCommonChargeScenarioEnalbed?\'iconfont icon-queren ok-tag\':\'iconfont icon-quxiaotuichu cancel-tag\'"></i>                </td>                <td style="width:11%" class="td-switch">                    <i ng-class="paymentType.isAdvanceChargeScenarioEnalbed?\'iconfont icon-queren ok-tag\':\'iconfont icon-quxiaotuichu cancel-tag\'"></i>                </td>                <td style="width:10%" class="td-command"                    ares-hide-when-parent="ChargeItem"                    ng-if="hasEditPermission">                    <button class="btn icon-btn btn-light-blue btn-md"                            ares-hide-when-parent="ChargeItem"                            ng-if="isEditEnabled(paymentType)"                            ng-click="editPaymentTypeMethod(paymentType)">                        <i class="iconfont icon-bianji"></i>                    </button>                    <button class="btn icon-btn btn-light-yellow btn-md"                            ares-hide-when-parent="ChargeItem"                            ng-if="isDeleteEnabled(paymentType)"                            ng-click="deletePaymentTypeMethod(paymentType)">                        <i class="iconfont icon-shanchu"></i>                    </button>                </td>                <td></td>            </tr>        </tbody>    </table></div>');templateCache.put('/app/practice/components/practice-payment-type-name/practice-payment-type-name-view.html','<div class="payment-type-name">    <div ng-show="paymentType.viewStatus == \'show\' || viewStatus == \'show\'" class="name-show">        <label class="text-overflow-ellipsis" style="width: 70%;" title="{{paymentType[propertoryName]}}">{{paymentType[propertoryName]}}</label>        <a ng-hide="(paymentType.isDefault && propertoryName == \'itemName\') || !isEditAllowed"           ng-class="paymentType[propertoryName] && paymentType[propertoryName].length>0?\'with-notes\':\'wiht-out-notes\'"           ng-click="editPaymentType()" ares-hide-when-parent="ChargeItem">            <i class="pay-icon edit"></i>        </a>    </div>    <div ng-show="viewStatus != \'show\' && paymentType.viewStatus != \'show\'"         class="name-show" ares-hide-when-parent="ChargeItem">        <input type="text" style="width: 60%; height: 32px; border-radius: 4px; border: 1px solid #e3e3e3;margin-left:5px;padding-left:5px;"               ng-model="paymentType[propertoryName]" />        <div style="display:inline-block;vertical-align:top;margin-top:5px;" ng-hide="!paymentType.id">            <a class="pay-btn confirm" ng-click="savePaymentTypeName()"></a>            <a class="pay-btn cancel" ng-click="cancelSavePaymentTypeName()"></a>        </div>    </div></div>');templateCache.put('/app/practice/dialogs/payment-type/payment-type-create-dialog-view.html','<div ares-clean-kendo class="enyo payment-type-create-wrapper">    <style type="text/css">        .payment-type-create-wrapper .warning-hint {            width: 100%;            height: 32px;            line-height: 32px;            background: #e0faff;            margin-top: 10px;            padding-left: 10px;            font-size: 13px;            color: #00A6C9;        }        .payment-type-create-wrapper .td-title {            vertical-align: top;            text-align: right;            padding-top: 5px;            width: 150px;            padding-right: 10px;        }        .payment-type-create-wrapper .td-content {            margin-top: 5px;            width: 725px;        }            .payment-type-create-wrapper .td-content p {                margin-bottom: 1px;            }            .payment-type-create-wrapper .td-content hr {                margin: 1px;            }            .payment-type-create-wrapper .td-content .radio-btn {                width: 120px;                float: left;            }        .payment-type-create-wrapper table {            border-collapse: separate;            border-spacing: 0px 5px;        }        .payment-type-create-wrapper .footer {            position: absolute;            bottom: 0;            width: 100%;            line-height: 56px;        }        .payment-type-create-wrapper .table-main-content {            height: calc(100vh - 175px);            position: relative;            overflow-y: auto;            width: 100%;        }                .payment-type-create-wrapper .payemnt-type-select .payment-type-tab-item {            width: 100%;        }        .payment-type-create-wrapper .payemnt-type-select .payment-type-tab {            background: #F1F3F7;            height: calc(100vh - 175px);            position: relative;            overflow-y: auto;            width: 100%;        }        .payment-type-create-wrapper .payemnt-type-select .payment-type-tab-item {            width: 100%;            height: 36px;            color: #2D405E;            font-size: 14px;            text-align: center;            padding-top: 8px;        }        .payment-type-create-wrapper .payemnt-type-select .payment-type-tab-item-selected {            background-color: white;        }        .payment-type-create-wrapper .payemnt-type-select .payment-type-tab-item:hover {            border: 1px solid white;            cursor: pointer;        }        .payment-type-create-wrapper .full-width {            width: 100%;        }        .payment-type-create-wrapper .part-width {            width: 80%;        }        .payment-type-create-wrapper .payemnt-type-select .payment-type-tab .upgrade-icon {            color: #00A6C9;        }    </style>    <div class="warning-hint" style="margin:0px;height:36px;font-size:13px;padding-top:7px;"         title="为什么要这么做？&#10;因为在新的财务中心报表体系中，所有&#10;的收费单数据和绩效核算都会以该支付&#10;方式配置作为计算准则，否则可能会引&#10;起现金流报表和营业额统计不准确。&#10;&#10;建议在会计人员的指导下进行。"         tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">        <p style="float:left;" >请从下列选择中选择一个最合你要求的支付方式类型</p>        <p class="iconfont icon-xinxi" style="float:left;"></p>    </div>       <div class="payemnt-type-select" style="width:20%; float:left;min-height:500px;clear:both;" ng-if="action==\'upgrade\'">        <div>            <ul class="payment-type-tab">                <li ng-class="paymentType.isSelected?\'payment-type-tab-item payment-type-tab-item-selected\':\'payment-type-tab-item\'"                    ng-click="setCurrentPaymentType(paymentType)"                    ng-repeat="paymentType in unknownPaymentTypes">                    <i ng-show="paymentType.isUpgrade" class="iconfont icon-chenggong upgrade-icon"></i>                    {{paymentType.name}}                </li>            </ul>        </div>    </div>    <div ng-class="action==\'upgrade\'?\'part-width\':\'full-width\'" style="float:left;margin-top:10px;">        <div class="table-main-content">            <table>                <tr>                    <td class="td-title">编码及名称</td>                    <td class="td-content form-horizontal">                        <input type="text" class="form-control" style="width:95px;float:left;"                               ng-model="currentPaymentType.code"                               placeholder="请输入编码" />                        <label style="float:left;margin:5px;">-</label>                        <input id="paymentTypeName"                               type="text" class="form-control" style="float:left; width:134px;"                               ng-model="currentPaymentType.name"                               ng-disabled="isEditNameDisabled(currentPaymentType)"                               placeholder="请输入名称" />                        <label style="float:left; font-weight:normal;margin:5px 10px;font-size:13px;">拼音码</label>                        <input id="paymentTypePy"                               type="text" class="form-control"                               ng-model="currentPaymentType.pinyin"                               disabled style="float:left; width:92px;" />                    </td>                </tr>                <tr>                    <td class="td-title">备注</td>                    <td class="td-content">                        <textarea class="form-control"                                  style="min-width:396px;"                                  ng-model="currentPaymentType.notes"                                  placeholder="请输入备注"></textarea>                    </td>                </tr>                <tr>                    <td class="td-title">支付方式类型</td>                    <td class="td-content">                        <div>                            <input id="paymentTypeCategory" class="form-control" style="width:300px;">                        </div>                    </td>                </tr>                <tr>                    <td class="td-title"></td>                    <td class="td-content">                        <payment-type-category-description-view current-category-name="currentCategoryName"                                                                current-category-payment-types="currentCategoryPaymentTypes"></payment-type-category-description-view>                    </td>                </tr>                <!--<tr>                    <td class="td-title">报表计算规则</td>                    <td class="td-content">                        <payment-scenario-config-view scenario-configs="currentCategoryConfigs"                                                      is-only-show="true"></payment-scenario-config-view>                    </td>                </tr>-->            </table>        </div>    </div>    <div class="footer enyo-bg-light clearfix" style="background: #F3F7F7;">        <div class="pull-right">            <p style="color: #00A6C9;display:inline-block;padding-right:10px;"                ng-if="action==\'upgrade\' && leftUnupgradeCount > 1">保存后继续升级下一项</p>            <button class="btn btn-primary" ng-click="save()">                保存            </button>            <!--<button class="btn btn-default" ng-if="action==\'upgrade\'" ng-click="next()">                下一个            </button>-->            <!--<button class="btn btn-default" style="color:#575D6A;" ng-click="cancel()">                取消            </button>-->        </div>    </div></div>');templateCache.put('/app/practice/dialogs/payment-type-category/payment-type-category-create-dialog-view.html','<div ares-clean-kendo class="enyo payment-type-category-create-wrapper">    <style type="text/css">        .payment-type-category-create-wrapper .table-main-content {            height: calc(100vh - 150px);            position: relative;            overflow-y: auto;            width: 100%;        }        .payment-type-category-create-wrapper table {            border-collapse: separate;            border-spacing: 0px 5px;        }        .payment-type-category-create-wrapper .footer {            position: absolute;            bottom: 0;            width: 100%;            line-height: 56px;        }        .payment-type-category-create-wrapper .table-main-content .td-title {            vertical-align: top;            text-align: right;            width: 150px;            padding-right: 10px;        }        .payment-type-category-create-wrapper .table-main-content .td-content {            margin-top: 5px;            width: 725px;        }        .payment-type-category-create-wrapper .table-main-content .ok-tag {            color: #00A6C9;        }        .payment-type-category-create-wrapper .table-main-content .cancel-tag {            color: red;        }    </style>    <div style="float:left;margin-top:10px;">        <div class="table-main-content">            <table>                <tr>                    <td class="td-title">支付类型名称</td>                    <td class="td-content form-horizontal">                        <input type="text" class="form-control"                               style="width:200px;float:left;"                               ng-model="currentPaymentTypeCategory.name"                               ng-disabled="action == \'info\'"                               placeholder="请输入名称" />                    </td>                </tr>                <tr>                    <td class="td-title"></td>                    <td class="td-content">                        <payment-type-category-description-view ng-if="action == \'info\'"                                                                current-category-name="currentPaymentTypeCategory.name"                                                                current-category-payment-types="currentPaymentTypeCategory.paymentTypes"></payment-type-category-description-view>                    </td>                </tr>                <tr ng-if="currentPaymentTypeCategory.name === \'平台结算\'">                    <td class="td-title">统计规则</td>                    <td class="td-content form-horizontal">                        <div>                            <div>                                <input type="radio" class="enyo-radio" id="radio1" name="isPlatformChargeIncomeEnabled"                                        ares-disable-when-parent="ChargeItem"                                       ng-model="currentPaymentTypeCategory.isPlatformChargeIncomeEnabled" ng-value="true">                                <label class="enyo-radio-label" for="radio1">计入当日现金流及诊疗服务收入</label>                            </div>                            <div>                                <input type="radio" class="enyo-radio" id="radio2" name="isPlatformChargeIncomeEnabled"                                        ares-disable-when-parent="ChargeItem"                                       ng-model="currentPaymentTypeCategory.isPlatformChargeIncomeEnabled" ng-value="false">                                <label class="enyo-radio-label" for="radio2">不计入当日现金流及诊疗服务收入</label>                            </div>                        </div>                    </td>                </tr>                <tr>                    <td class="td-title">应用场景</td>                    <td class="td-content">                        <div style="margin-bottom: 5px;" ng-if="action==\'info\'">                            <i ng-class="currentCategoryScenario.isCommonChargeEnabled?\'iconfont icon-queren ok-tag\':\'iconfont icon-quxiaotuichu cancel-tag\'"></i>                            <span class="item-detail">诊疗账单收费</span>                        </div>                        <div style="margin-bottom:5px;" ng-if="action!=\'info\'">                            <input type="checkbox" class="enyo-checkbox"                                   ng-model="currentCategoryScenario.isCommonChargeEnabled"                                   ng-change="scenarioEnabledChanged()"                                   id="isCommonChargeEnabled">                            <label class="enyo-checkbox-label" for="isCommonChargeEnabled">                                诊疗账单收费                            </label>                        </div>                        <div style="margin-bottom: 5px;" ng-if="action==\'info\'">                            <i ng-class="currentCategoryScenario.isAdvanceChargeEnabled?\'iconfont icon-queren ok-tag\':\'iconfont icon-quxiaotuichu cancel-tag\'"></i>                            <span class="item-detail">卡券账单收费</span>                        </div>                        <div ng-if="action!=\'info\'">                            <input type="checkbox" class="enyo-checkbox"                                   ng-model="currentCategoryScenario.isAdvanceChargeEnabled"                                   ng-change="scenarioEnabledChanged()"                                   id="isAdvanceChargeEnabled">                            <label class="enyo-checkbox-label" for="isAdvanceChargeEnabled">                                卡券账单收费                            </label>                        </div>                    </td>                </tr>                <tr ng-hide="currentPaymentTypeCategory.id > 0 && currentPaymentTypeCategory.isDefault">                    <td class="td-title">报表计算规则</td>                    <td class="td-content form-horizontal">                        <payment-scenario-config-view scenario-configs="currentPaymentTypeCategory.configs"                                                      is-only-show="isOnlyShow"></payment-scenario-config-view>                    </td>                </tr>            </table>        </div>    </div>    <div class="footer enyo-bg-light clearfix" style="background: #F3F7F7;">        <div class="pull-right">            <button class="btn btn-primary" ng-click="save()">                保存            </button>            <button class="btn btn-default" style="color:#575D6A;" ng-click="cancel()">                取消            </button>        </div>    </div></div>');templateCache.put('/app/practice/dialogs/system-setting-item-edit-dialog/system-setting-item-edit-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">修改配置</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="ruleSettingForm" id="ruleSettingForm" novalidate class="form-horizontal" style="margin-left:15px">            <div class="form-group">                <label class="col-sm-4 control-label">所属大类</label>                <div class="col-sm-7">                    <input disabled class="form-control" ng-model="dataTypeName" />                </div>            </div>            <div class="form-group">                <label class="col-sm-4 control-label">名称</label>                <div class="col-sm-7">                    <input class="form-control" name="itemName" ng-model="currentSystemItem.itemName" />                </div>            </div>            <!--<div class="row">                <div class="alert alert-success col-md-3" role="alert" ng-if="officeinfoSaveSuccess">修改成功！</div>                <div class="alert alert-danger col-md-3" role="alert" ng-if="data.error">{{data.error}}</div>            </div>-->        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="validAndSave()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/practice/views/practice-diagnosis-browser-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <h1>诊断项目</h1>    </div>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-12" ng-hide="isAllCharge">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <div class="pull-left" style="">                            <table>                                <tr>                                    <td>                                        <label>诊断名称：</label>                                    </td>                                    <td>                                        <input ng-model="searchString" class="form-control" />                                    </td>                                </tr>                            </table>                        </div>                        <div class="pull-right">                            <!--<button class="btn btn-primary" ng-disabled="isDisableDbClick" ng-click="up()" ares-hide-when-parent="ChargeItem">上移</button>                            <button class="btn btn-primary" ng-disabled="isDisableDbClick" ng-click="down()" ares-hide-when-parent="ChargeItem">下移</button>-->                            <button class="btn btn-primary" ng-click="createDiagnoseItem()" ares-hide-when-parent="ChargeItem">新建诊断项目</button>                            <button class="btn btn-default" ng-click="exportItemExcel()">导出excel</button>                        </div>                    </div>                    <div class="panel-body" id="tablelist" style="overflow-y:auto;">                        <div id="currentChargeItemCatagory">                        </div>                    </div>                </div>            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/practice/views/practice-diagnosis-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        .myLable {            padding-right: 0 !important;            padding-top: 7px !important;        }        .myRequired {            color: red !important;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">编辑诊断项目</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="diagnosisItemForm" id="diagnosisItemForm" class="form-horizontal" novalidate style="margin-left:25px;">            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">项目编号 *</label>                <div class="col-sm-5">                    <input class="form-control" name="itemCode" ng-model="diagnoseItem.itemCode" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">项目名称 *</label>                <div class="col-sm-5">                    <input class="form-control" name="itemName" ng-model="diagnoseItem.itemName" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">英文名 *</label>                <div class="col-sm-5">                    <input class="form-control" name="itemEnName" ng-model="diagnoseItem.itemEnName" />                </div>            </div>            <div class="form-group" ng-show = "diagnoseId > 0">                <label class="col-sm-3 control-label">拼音</label>                <div class="col-sm-5">                    <input class="form-control" name="pinyin" ng-model="diagnoseItem.pinyin" />                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="validAndSave()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">关闭</button>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/practice/views/practice-emr-config-view.html','<div class="ares-main-content practice-emr-config-view" ares-clean-kendo>    <style scoped>        body.ares3 .practice-emr-config-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }        .defaultType {            width: 20px;            border-left: 5px solid white;            background-color: white;        }        .inActiveType {            width: 20px;            border-left: 5px solid #00A6C9;            background-color: #F7F7F7;        }        .td-lable {            font-weight: normal;        }        #emrConfigForm .control-label-check {            float: left;            /* width: 50%; */            text-align: left;            padding-left: 30px;        }        #emrConfigForm .label-danger {            background-color: #d9534f;            /* margin-bottom: -15px; */            float: left;        }        #emrConfigForm #category-error {            display: inline;            float: none;            margin: auto;            margin-left: 10px;        }        #emrConfigForm .show-little-tooth-describe {            position: relative;        }            #emrConfigForm .show-little-tooth-describe .little-tooth-describe-text {                display: none;                border: 1px solid #8c8c8c;                padding: 8px 6px 6px;                border-radius: 4px;                background: #fafad6;                position: absolute;                bottom: -28px;                left: 0px;                width: 465px;                padding-bottom: 6px;                line-height: 12px;            }            #emrConfigForm .show-little-tooth-describe > i:hover + .little-tooth-describe-text {                display: block;            }            #emrConfigForm .show-little-tooth-describe .little-tooth-describe-text span {                border-bottom: 1px solid #8b8b8b;            }                #emrConfigForm .show-little-tooth-describe .little-tooth-describe-text span:first-child {                    border-right: 1px solid #8b8b8b;                }    </style>    <form id="emrConfigForm">        <div class="row">            <div class="col-md-2" style="padding-right:0;">                <table style="width:100%;text-align:left;padding-left:20px;font-size:16px;">                    <tr style="border-top:1px solid #F7F7F7;border-bottom:1px solid #F7F7F7;line-height:50px;"                        ng-click="selectType(1,$event)">                        <td style="width:20px;"                            ng-class="{\'defaultType\': activeType!=1,\'inActiveType\':activeType==1}"></td>                        <td onclick="javascript:document.getElementById(\'f1\').scrollIntoView()"                            ng-style="{\'background-color\':activeType==1?\'#F7F7F7\':\'white\',\'color\':activeType==1?\'#00A6C9\':\'black\'}">                            <strong>病历配置</strong></td>                    </tr>                    <tr style="border-bottom:1px solid #F7F7F7;line-height:50px;" ng-click="selectType(2,$event)">                        <td style="width:20px;"                            ng-class="{\'defaultType\': activeType!=2,\'inActiveType\':activeType==2}"></td>                        <td onclick="javascript:document.getElementById(\'f2\').scrollIntoView()"                            ng-style="{\'background-color\':activeType==2?\'#F7F7F7\':\'white\',\'color\':activeType==2?\'#00A6C9\':\'black\'}">                            <strong>模版字段</strong></td>                    </tr>                    <tr style="border-bottom:1px solid #F7F7F7;line-height:50px;" ng-click="selectType(3,$event)">                        <td style="width:20px;"                            ng-class="{\'defaultType\': activeType!=3,\'inActiveType\':activeType==3}"></td>                        <td onclick="javascript:document.getElementById(\'f3\').scrollIntoView()"                            ng-style="{\'background-color\':activeType==3?\'#F7F7F7\':\'white\',\'color\':activeType==3?\'#00A6C9\':\'black\'}">                            <strong>打印配置</strong></td>                    </tr>                </table>            </div>            <div class="col-md-10" style="background-color:#F7F7F7;overflow-y:auto;height:100%;">                <div id="f1" style="margin:10px;border-bottom:2px solid #EDEDED;">                    <table style="width:100%;line-height:40px;border:1px solid #D8E0E7;margin-top: 15px;margin-bottom: 15px;background-color:white;">                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2" style="background-color:#EBFAFF;padding-left:10px;">                                <strong style="color:#A5ABB6;font-size:16px;">病历配置</strong>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td style="padding-left:10px;width:100px;">启用类型</td>                            <td>                                <table>                                    <tr>                                        <td>                                            <div style="display:inline">                                                <label class="checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;" ng-repeat="template in layoutTemplates">                                                    <input type="checkbox" name="category"                                                           ng-model="officeEmrSetings.emrConfig[template.templateCode]"                                                           style="top: 10px;" ng-disabled="!isEdit">{{template.templateName}}                                                </label>                                            </div>                                        </td>                                        <td></td>                                    </tr>                                </table>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2" style="">                                <table>                                    <tr>                                        <td>                                            <label class="checkbox inline control-label td-lable"                                                   style="padding-left: 30px;margin:0;">                                                <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                                       ng-model="systemConfigs.isDisableEMRTimeLimitValue">启用病历限时                                            </label>                                        </td>                                        <td style="padding-left: 30px;">                                            <input style="width:110px;" kendo-numeric-text-box                                                   k-options="{format: \'#\', decimals:0}" k-min="0" k-step="1" k-max="1000000"                                                   ng-disabled="!isEdit"                                                   k-ng-model="systemConfigs.emrTimeLimitValue"/><span                                                                                                       style="margin-left: 10px;" class="control-label">小时</span>                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2" style="">                                <table>                                    <tr>                                        <td>                                            <label class="checkbox inline control-label td-lable"                                                   style="padding-left: 30px;margin:0;">                                                <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                                       ng-model="systemConfigs.isEnableEMRWritingLimitValue">启用补写病历和正畸过程时限                                            </label>                                        </td>                                        <td style="padding-left: 30px;">                                            <input style="width:110px;" kendo-numeric-text-box                                                   k-options="{format: \'#\', decimals:0}" k-min="0" k-step="1"  k-max="100000"                                                   ng-disabled="!isEdit"                                                   k-ng-model="systemConfigs.emrWritingLimitValue"/><span                                                                                                         style="margin-left: 10px;" class="control-label">天</span>                                            <span class="show-little-tooth-describe">                                                <i class="glyphicon glyphicon-question-sign"></i>                                                <span style="bottom: -40px" class="little-tooth-describe-text">0表示当天可以补写病历以及正畸过程，1表示当天和昨天都可以进行病历和正畸过程的补写，以此类推</span>                                            </span>                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2">                                <label class="checkbox inline control-label td-lable"                                       style="padding-left: 30px;margin:0;height: 30px;">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                           ng-model="systemConfigs.allowToothFDI">查看病历启用FDI牙位                                </label>                                <label class="checkbox inline control-label td-lable"                                       style="padding-left: 30px;margin:0;">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                           ng-model="systemConfigs.allowEditToothFDI">编辑病历启用牙位选择                                </label>                                <label class="checkbox inline control-label td-lable"                                       style="padding-left: 30px;margin-top:-10px">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                           ng-model="systemConfigs.isAloneSaveOralCheckSymptom">口腔检查症状单独保存                                </label>                            </td>                        </tr>                    </table>                </div>                <div id="f2" style="margin:10px;border-bottom:2px solid #EDEDED;">                    <table style="width:100%;line-height:40px;border:1px solid #D8E0E7;margin-top: 15px;margin-bottom: 15px;background-color:white;">                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2" style="background-color:#EBFAFF;padding-left:10px;">                                <strong style="color:#A5ABB6;font-size:16px;">模板字段</strong>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td style="padding-left:10px;width:100px;">初诊病历</td>                            <td>                                <table>                                    <tr>                                        <td style="padding-left:10px;padding-right:30px;">                                            <div style="display:inline">                                                <label class="checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.chiefComplaint"                                                           style="top: 10px;" ng-disabled="!isEdit">主诉                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.history"                                                           style="top: 10px;" ng-disabled="!isEdit">现病史                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.pastHistory"                                                           style="top: 10px;" ng-disabled="!isEdit">既往史                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.oralCheck"                                                           style="top: 10px;" ng-disabled="!isEdit">口腔检查                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.radiologyCheck"                                                           style="top: 10px;" ng-disabled="!isEdit">辅助检查                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.associatedImage"                                                           style="top: 10px;" ng-disabled="!isEdit">相关影像                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.treatmentPlan"                                                           style="top: 10px;" ng-disabled="!isEdit">治疗方案                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.diagnose"                                                           style="top: 10px;" ng-disabled="!isEdit">诊断                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.cure"                                                           style="top: 10px;" ng-disabled="!isEdit">处置                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.firstEmrTemplateFields.advice"                                                           style="top: 10px;" ng-disabled="!isEdit">医嘱                                                </label>                                            </div>                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                        <tr>                            <td style="padding-left:10px;width:100px;">复诊病历</td>                            <td>                                <table>                                    <tr>                                        <td style="padding-left:10px;padding-right:30px;">                                            <div style="display:inline">                                                <label class="checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="secondEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.chiefComplaint"                                                           style="top: 10px;" ng-disabled="!isEdit">复诊                                                </label>                                                <label class="checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="secondEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.history"                                                           style="top: 10px;" ng-disabled="!isEdit">现病史                                                </label> <label                                                                 class="checkbox inline control-label td-lable control-label-check"                                                                style="margin:0;">                                                    <input type="checkbox" name="secondEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.pastHistory"                                                           style="top: 10px;" ng-disabled="!isEdit">既往史                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="secondEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.oralCheck"                                                           style="top: 10px;" ng-disabled="!isEdit">口腔检查                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="secondEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.radiologyCheck"                                                           style="top: 10px;" ng-disabled="!isEdit">辅助检查                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.associatedImage"                                                           style="top: 10px;" ng-disabled="!isEdit">相关影像                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="secondEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.diagnose"                                                           style="top: 10px;" ng-disabled="!isEdit">诊断                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="firstEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.treatmentPlan"                                                           style="top: 10px;" ng-disabled="!isEdit">治疗方案                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="secondEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.cure"                                                           style="top: 10px;" ng-disabled="!isEdit">处置                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check"                                                       style="margin:0;">                                                    <input type="checkbox" name="secondEmrTemplate"                                                           ng-model="officeEmrSetings.secondEmrTemplateFields.advice"                                                           style="top: 10px;" ng-disabled="!isEdit">医嘱                                                </label>                                            </div>                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>                <div id="f3" style="margin:10px;">                    <table style="width:100%;line-height:40px;border:1px solid #D8E0E7;margin-top: 15px;margin-bottom: 15px;background-color:white;">                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td style="background-color:#EBFAFF;padding-left:10px;">                                <strong style="color:#A5ABB6;font-size:16px;">打印配置</strong>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td style="padding-left:10px;width:100px;">                                <label class="checkbox inline control-label td-lable"                                       style="padding-left: 30px;margin:0;">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                           ng-model="systemConfigs.isDisableEMRBlankPrint">启用不打印空病历项                                </label>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td style="padding-left:10px;width:100px;">                                <label class="checkbox inline control-label td-lable"                                       style="padding-left: 30px;margin:0;">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                           ng-model="systemConfigs.isEnableEMRLittleToothPrint">启用打印小牙位                                    <span class="show-little-tooth-describe">                                        <i class="glyphicon glyphicon-question-sign"></i>                                        <span class="little-tooth-describe-text">牙位分别以上下半口显示半个十字架，非全口完整的十字架，如：<span>12</span><span>23</span></span>                                    </span>                                </label>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td style="padding-left:10px;width:100px;">                                <label class="checkbox inline control-label td-lable"                                       style="padding-left: 30px;margin:0;">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                           ng-model="officeEmrSetings.isMedicalRecordPaginationPrintEnabled">病历合并打印需要分页                                </label>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td style="padding-left:10px;width:100px;">                                <label class="checkbox inline control-label td-lable"                                       style="padding-left: 30px;margin-top:0px">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit"                                           ng-model="officeEmrSetings.MedicalRecordPrintConfig.isByApptTimeAsc">默认按最新时间为第一条打印（勾选后按最早时间为第一条打印）                                </label>                            </td>                        </tr>                    </table>                </div>                <div style="margin:10px;">                    <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()"                            ares-hide-when-parent="EMR">编辑                    </button>                    <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="validAndSave()"                            ares-hide-when-parent="EMR">保存                    </button>                    <button type="button" class="btn btn-default" ng-show="isEdit" ng-click="cancel()"                            ares-hide-when-parent="EMR">取消                    </button>                </div>            </div>        </div>    </form></div>');templateCache.put('/app/practice/views/practice-emrtemplate-browser-create-item-view.html','<div ares-modal-dragable ares-clean-kendo>	<style type="text/css" scoped>		.emrtemplate-browser-create-item .modal-sm{			width: 660px;		}        .col-condensed {            padding: 0 5px;        }	</style>    <div class="modal-header ares-dialog-header" style=" background: #00a6c9;border-radius: 0;">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title" ng-bind="title" style=\'color:#fff;\'></h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0;border-right:0;">        <div id="addDiseaseItemModalDlg" ng-show="showType == 1 || showType == 2">            <div class="modal-body">                <form name="addDiseaseItemForm" novalidate id="addDiseaseItemForm" class="form-horizontal">                    <div class="form-group">                        <label class="control-label col-md-4 col-condensed">目录名称:</label>                        <div class="col-md-8 col-condensed">                            <input class="form-control" name="itemName" type="text" ng-model="newDiseaseItem.itemName" />                        </div>                    </div>                </form>            </div>        </div>        <div id="createEMRTemplateModalDlg" ng-show="showType == 3">            <div class="modal-body">                <form name="emrTemplateAddForm" id="emrTemplateAddForm" class="form-horizontal">                    <div class="form-group">                        <label class="col-xs-2 control-label">目录名称:</label>                        <div class="col-xs-4">                            <input class="form-control" type="text" ng-model="newEMRTemplate.diseaseName" disabled />                        </div>                    </div>                    <div class="form-group">                        <label for="chiefComplaint" class="col-xs-2 control-label myRequired"><span style="color:red;">*</span>模板名称:</label>                        <div class="col-xs-4">                            <input class="form-control" ng-model="newEMRTemplate.templateName" name="templateName" required />                        </div>                    </div>                    <div class="form-group">                        <label for="chiefComplaint" class="col-xs-2 control-label">主诉:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.chiefComplaint" rows="1"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label for="history" class="col-xs-2 control-label">现病史:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.history" rows="1"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label for="pastHistory" class="col-xs-2 control-label">既往史:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.pastHistory" rows="1"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label class="col-xs-2 control-label">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.oralCheck" rows="2"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label class="col-xs-2 control-label">{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.otherCheck" rows="2"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label class="col-xs-2 control-label">诊断:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.diagnose" rows="1"></textarea>                        </div>                    </div>                    <div class="form-group" ng-if="isEmrCustomTemplateEnabled">                        <label class="col-xs-2 control-label">治疗建议:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.treatmentAdvice" rows="1"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label class="col-xs-2 control-label">治疗计划:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.treatmentPlan" rows="1"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label class="col-xs-2 control-label">{{isEmrCustomTemplateEnabled?"处理":"处置"}}:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.treatment" rows="1"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label class="col-xs-2 control-label">医嘱:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.advice" rows="1"></textarea>                        </div>                    </div>                </form>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left:0;border-right:0; border:none;background: #fff;padding:0;padding:5px 25px;">        <button class="btn btn-primary" ng-click="save()" style="border:0; background-color: #00a8cb;">保存</button>        <style>            .btn-primary:hover {                background-color: #286090 !important;            }        </style>        <button class="btn btn-default" ng-click="cancel()" >取消</button>    </div></div>');templateCache.put('/app/practice/views/practice-emrtemplate-browser-directory-move-view.html','<div class="practice-emrtemplate-browser-content" ares-clean-kendo>    <style scoped>        .practice-emrtemplate-browser-directory-move .modal-dialog{            width: 400px;        }        .practice-emrtemplate-browser-directory-move .emr-item-dialog ul,.practice-emrtemplate-browser-directory-move .emr-item-dialog li{            list-style-type: none;        }        .practice-emrtemplate-browser-directory-move .emr-item-header{            position: absolute;            right: 0;            top: 0;            cursor: pointer;        }        .practice-emrtemplate-browser-directory-move .emr-item-header button{            border: none;            background: #fff;            font-size: 20px;        }        .practice-emrtemplate-browser-directory-move .left-sub-type{            max-height: 300px;            overflow-y: auto;        }        .practice-emrtemplate-browser-directory-move .sub-type-items{            margin-left: 20px;        }        .practice-emrtemplate-browser-directory-move .modal-body-template > .row{            margin: 0;        }        .practice-emrtemplate-browser-directory-move .modal-body-template > .template-select{            width: 300px;            margin: 10px auto 0 0;        }        .practice-emrtemplate-browser-directory-move .modal-body-template .row > [class^="col-"]{            padding: 0 !important;            margin-top: 5px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items .sub-type-items-ul{           margin-bottom: 5px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items .sub-type-items-ul > li > ul{            border-left: 2px solid #BEE9F2;            margin-left: -1px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items .sub-type-items-ul > li > ul > li:last-child{            margin-left: -2px;            background-color: #fff;        }        .practice-emrtemplate-browser-directory-move .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .left-dot{            border-left: 2px solid #BEE9F2;        }        .practice-emrtemplate-browser-directory-move .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .sub-type-items-ul{            margin-left: 22px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items .sub-type-items-ul-third{            margin-left: 20px;            margin-top: 6px;            margin-bottom: 0;        }        .practice-emrtemplate-browser-directory-move .sub-type-items .sub-type-items-ul-third > li:first-child{            margin-top: -5px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items li.sub-template{            height: 22px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul li{            position: relative;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul li .not-sub:first-child{            margin-top: 0;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul .left-dot{            width: 10px;            color: #BEE9F2;            display: inline-block;            border-bottom: 1px solid #3eccea;            margin-right: 6px;            float: left;            padding-top: 10px;            height: 6px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul .text{            position: absolute;            top: 5px;            display: inline-block;            width: 80%;            font-size: 13px;            cursor: pointer;            height: 13px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul .text .text-name{            width: 100%;            display: inline-block;            overflow: hidden;            text-overflow: ellipsis;            white-space:nowrap;            color: #696D76;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul .text .text-name i.leaf{            margin-right: 3px;            padding: 1px 8px;            line-height: 20px;            background: url(/Content/imgs/file.png) no-repeat;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-main > span:hover,.practice-emrtemplate-browser-directory-move .sub-type-items-main > span.active,.practice-emrtemplate-browser-directory-move .sub-type-items-ul .text .text-name:hover,.practice-emrtemplate-browser-directory-move .sub-type-items-ul .text .text-name.active{            color: #00A8CB;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul .text .text-operation{            float: right;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul .text .text-operation i{            background: #e0e0e0;            border-radius: 3px;            margin-right: 10px;            padding: 1px 2px;            font-size: 12px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-ul .text .text-operation i:hover{            background: #b0b0b0;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-main i{            color: #00A8CB;            font-size: 18px;            display: inline-block;            margin-left: -8px;            margin-right: 4px;            cursor: pointer;            background: #fff;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-main i.folder{            font-size: 16px;            margin-right: 0;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-main span{            font-size: 13px;            color: #696D76;            cursor: pointer;        }        .practice-emrtemplate-browser-directory-move ::-webkit-scrollbar{              width: 3px;              height: 3px;              background-color: #f5f5f5;          }        .practice-emrtemplate-browser-directory-move ::-webkit-scrollbar-track{              -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);              border-radius: 10px;              background-color: #f5f5f5;          }        .practice-emrtemplate-browser-directory-move ::-webkit-scrollbar-thumb{              border-radius: 10px;              -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);              background-color: #ccc;          }        .practice-emrtemplate-browser-directory-move .location-current-ul li{            float: left;        }        .practice-emrtemplate-browser-directory-move .location-current-ul li.location{            color: #afafaf;            margin-left: 3px;        }        .practice-emrtemplate-browser-directory-move .location-current-ul li.location i{            font-family: "Arial";        }        .practice-emrtemplate-browser-directory-move .location-current-ul li.location:last-child i{            display: none;        }        .practice-emrtemplate-browser-directory-move .practice-emrtemplate-browser-content .btn-primary{            background-color: #00a6c9;            border-color: #00a6c9;        }        .practice-emrtemplate-browser-directory-move .practice-emrtemplate-browser-content .btn-primary:hover{            background-color: #0097b5;            border-color: #0097b5;        }        .practice-emrtemplate-browser-directory-move .k-dropdown-wrap.k-state-default,.k-dropdown-wrap.k-state-hover{            background-color: #fff;            border-color: #e3e3e3;        }        .practice-emrtemplate-browser-directory-move .k-dropdown-wrap.k-state-active.k-state-border-down{            box-shadow: none;        }    </style>    <div class="emr-item-dialog">        <div class="modal-body">            <div class="emr-item-header">                <button type="button" class="iconfont icon-quxiaotuichu" ng-click="cancel()" aria-label="Close"></button>            </div>            <div class="modal-body-template" style="width: 400px;margin:0 auto;">                <div class="row">                    <div class="col-sm-12">                        <ul class="clearfix location-current-ul">                            <li>当前位置：</li>                            <li class="location" ng-repeat="item in diseaseItemName">{{item}} <i class="">></i> </li>                        </ul>                    </div>                </div>                <div class="row template-select">                    <div class="col-sm-12">                        <select id="search-status" kendo-drop-down-list style="width:100%;" ng-model="templateType">                            <option value="1">初诊模板</option>                            <option value="2">复诊模板</option>                        </select>                    </div>                </div>                <div class="row template-select" style="border: 1px solid #e3e3e3;padding: 10px;">                    <div class="col-sm-12 left-sub-type">                        <ares-tree-control tree-model="treeData"                                      filter-expression="predicate"                                      selected-node="selectedNode"                                      on-branch-selected="getContent(node)"                                      options="treeOpts"                                      expanded-nodes="expandedNodes"                                      filter-comparator="comparator">                            {{node.itemName}}                        </ares-tree-control>                    </div>                </div>                <div class="row template-select">                    <div class="col-sm-12">                        <button type="button" class="btn btn-primary" ng-click="sureMoveTemplate()">移动</button>                        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/practice-emrtemplate-browser-view.html','<div class="ares-main-content practice-emrtemplate-browser-view" ares-clean-kendo>    <style>        body.ares3 .practice-emrtemplate-browser-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }    </style>    <div class="ares-page-content">        <div class="row" id="emrTemplate">            <style scoped>                .emr-entry-sub-nav {                    background-color: #fbfbfb;                    border: 1px solid #E3E3E3;                    border-top: 0;                    margin: -10px 5px 0 5px;                }                .emr-entry-content ul, .emr-entry-content li {                    margin: 0;                    padding: 0;                    list-style-type: none;                }                .emr-entry-sub-nav-ul li {                    float: left;                    width: 136px;                    border-right: 1px solid #E3E3E3;                    margin-top: 9px;                    height: 30px;                    text-align: center;                    list-style-type: none;                }                    .emr-entry-sub-nav-ul li span {                        overflow: hidden;                        text-overflow: ellipsis;                        white-space: nowrap;                        background-color: #fff;                        border: 1px solid #E3E3E3;                        border-radius: 4px;                        text-align: center;                        display: inline-block;                        width: 100px;                        height: 24px;                        margin-top: 3px;                        cursor: pointer;                        font-size: 12px;                        line-height: 21px;                    }                    .emr-entry-sub-nav-ul li:last-child {                        border: none;                    }                    .emr-entry-sub-nav-ul li.active span {                        background-color: #00a8cb;                        color: #fff;                        border-color: #00a8cb;                    }                .k-treeview .k-sprite {                    background-image: url("/Content/imgs/coloricons-sprite.png");                }                div.k-treeview {                    overflow: visible;                }                .rootfolder {                    background-position: 0 0;                }                .folder {                    background-position: 0 -16px;                }                .pdf {                    background-position: 0 -32px;                }                .html {                    background-position: 0 -48px;                }                .image {                    background-position: 0 -64px;                }                div.panel-body {                    padding-top: 0px;                }                #emrTemplate input, #emrTemplate select, #emrTemplate textarea {                    max-width: 550px;                }                .emr-select-template-browser-tree .emrTemplateForm .control-label {                    width: 120px;                }                #emrTreeContextMenu li {                    width: 136px;                }                .emr-select-template-browser-tree .modal .modal-dialog.modal-sm {                    background-color: #fff;                    /*border:1px solid #00A8CB;*/                    border-radius: 4px;                }                .emr-select-template-browser-tree .modal > .modal-dialog > .modal-content {                    border-radius: 5px !important;                }                .emr-select-template-browser-tree .big-template-body {                    margin-top: 25px;                }                .emr-select-template-browser-tree .emr-item-header.big-template-header {                    background-color: #fff;                    text-align: center;                    height: 30px;                    line-height: 30px;                }                .emr-select-template-browser-tree .big-template-header .text {                    color: #00A8CB;                }                .emr-select-template-browser-tree .big-template-content {                    margin-right: 20px;                    -webkit-box-shadow: 1px 3px 8px rgba(0,0,0,.5);                    box-shadow: 1px 3px 8px rgba(0,0,0,.5);                    border-radius: 3px;                    position: relative;                }                    .emr-select-template-browser-tree .big-template-content .head-text {                        height: 66px;                        line-height: 66px;                        text-align: center;                        border-bottom: 1px solid #E3E3E3;                        margin: 0 15px;                        font-size: 16px;                        font-weight: bold;                    }                    .emr-select-template-browser-tree .big-template-content .template-type {                        position: absolute;                        right: 0;                        top: 0;                        z-index: 1;                        padding: 6px 15px;                        background-color: #00A8CB;                        color: #fff;                    }                .emr-select-template-browser-tree .content {                    max-height: 500px;                    overflow-y: auto;                }                .emr-select-template-browser-tree .content-li {                    margin: 0 15px;                    border-bottom: 1px dashed #F1F1F1;                    padding: 10px 0;                }                    .emr-select-template-browser-tree .content-li .col-left {                        text-align: right;                        font-weight: bold;                    }                .emr-select-template-browser-tree .row.content-li .col-md-2, .row.content-li .col-md-10 {                    padding-left: 5px;                    padding-right: 5px;                }                .emr-select-template-browser-tree .template-btn {                    text-align: center;                    margin: 15px auto                }                    .emr-select-template-browser-tree .template-btn .btn-primary {                        background-color: #00A8CB;                        border-color: #00A8CB;                    }                        .emr-select-template-browser-tree .template-btn .btn-primary:hover {                            background-color: #0790ac;                            border-color: #0790ac;                        }                        .emr-select-template-browser-tree .template-btn .btn-primary[disabled=\'disabled\'] {                            background-color: #8b8b8b;                            border-color: #8b8b8b;                        }                .emr-select-template-browser-tree .big-template-footer {                    text-align: center;                    color: #9DA1AB;                    margin-top: 50px;                    line-height: 30px;                    border-top: 1px solid #E3E3E3;                    cursor: pointer;                }                .emr-select-template-browser-tree .show-grid {                    padding-right: 1px;                }                .emr-select-template-browser-tree .search-body {                    border: 1px solid #55AEF1;                    border-radius: 3px;                    width: 160px;                    height: 24px;                    line-height: 21px;                    text-align: center;                    border-radius: 5px;                    margin-left: 20px;                    cursor: pointer;                    cursor: pointer;                }                    .emr-select-template-browser-tree .search-body .createTemplate {                        color: #55AEF1;                        font-weight: bolder;                    }                    .emr-select-template-browser-tree .search-body i {                        font-size: 16px;                        font-weight: normal;                        color: #989CA7;                        text-align: center;                        width: 12%;                    }                .emr-select-template-browser-tree .panel-body-template {                    margin-top: 10px;                    max-height: 515px;                    overflow-y: auto;                }                .emr-select-template-browser-tree .form-control[disabled] {                    border: none !important;                    resize: none !important;                    background-color: #ffffff !important;                    box-shadow: none;                }                .emr-select-template-browser-tree .tree-removemouse {                    position: relative;                }                .emrtemplate-browser-create-directory {                    text-align: center;                }                    .emrtemplate-browser-create-directory:before {                        display: inline-block;                        vertical-align: middle;                        content: " ";                        height: 100%;                    }                    .emrtemplate-browser-create-directory .modal-dialog {                        display: inline-block;                        text-align: left;                        vertical-align: middle;                    }                .emrTemplate-form-text {                    padding: 6px 12px;                }                    .emrTemplate-form-text.ng-hide.ng-hide-animate,                    #emrTemplateForm input.ng-hide.ng-hide-animate,                    #emrTemplateForm textarea.ng-hide.ng-hide-animate {                        display: none;                    }            </style>            <div class="emr-entry-sub-nav">                <ul class="emr-entry-sub-nav-ul clearfix">                    <li ng-repeat="template in layoutTemplates" title="{{template.templateName}}" ng-class="{\'active\':layoutTemplateCode === template.templateCode}" ng-click="changeType(template.templateCode)"><span>{{template.templateName}}</span></li>                </ul>            </div>            <div class="emr-select-template emr-select-template-browser-tree" ares-clean-kendo>                <div class="emr-template-body">                    <div class="row big-template-body">                        <div class="col-md-3 show-grid" style="height: 710px">                            <div class="show-grid-body">                                <div class="search-body" ng-click="addDiseaseItem()">                                    <div class="createTemplate">创建模板目录</div>                                </div>                                <div class="panel-default">                                    <div class="panel-body-template">                                        <div>                                            <ares-tree-control tree-model="treeData"                                                               filter-expression="predicate"                                                               selected-node="selectedNode"                                                               on-selection="showSelected(node)"                                                               on-operation="templateOperate(node,type)"                                                               options="treeOpts"                                                               expanded-nodes="expandedNodes"                                                               filter-comparator="comparator">                                                {{node.itemName}}                                            </ares-tree-control>                                        </div>                                    </div>                                </div>                            </div>                        </div>                        <div class="col-xs-9">                            <div class="panel panel-primary" style="box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.08);">                                <div class="panel-body">                                    <div style="overflow-y:visible;">                                        <ul>                                            <li class="k-state-active" style="display: none"></li>                                        </ul>                                        <div class="row">                                            <form id="emrTemplateForm" name="emrTemplateForm" class="form-horizontal emrTemplateForm" style="width:100%;">                                                <div class="form-group">                                                    <label class="control-label col-md-1">模板名称:</label>                                                    <div class="col-md-8">                                                        <input class="form-control" type="text" name="templateName" ng-model="currentEmrTemplate.templateName" ng-show="isEditEmrTemplate" />                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.templateName}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="control-label col-md-1">主诉:</label>                                                    <div class="col-md-8">                                                        <input class="form-control" type="text" ng-model="currentEmrTemplate.chiefComplaint" ng-show="isEditEmrTemplate" />                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.chiefComplaint}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">现病史:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.history" rows="3" ng-show="isEditEmrTemplate"></textarea>                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.history}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">既往史:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.pastHistory" rows="3" ng-show="isEditEmrTemplate"></textarea>                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.pastHistory}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.oralCheck" rows="3" ng-show="isEditEmrTemplate"></textarea>                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.oralCheck}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.otherCheck" rows="3" ng-show="isEditEmrTemplate"></textarea>\                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.otherCheck}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">诊断:</label>                                                    <div class="col-md-8">                                                        <input class="form-control" type="text" ng-model="currentEmrTemplate.diagnose" ng-show="isEditEmrTemplate" />                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.diagnose}}</div>                                                    </div>                                                </div>                                                <div class="form-group" ng-if="isEmrCustomTemplateEnabled">                                                    <label class="col-md-1 control-label">治疗建议:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.treatmentAdvice" rows="3" ng-show="isEditEmrTemplate"></textarea>                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.treatmentAdvice}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">治疗方案:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.treatmentPlan" rows="3" ng-show="isEditEmrTemplate"></textarea>                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.treatmentPlan}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">{{isEmrCustomTemplateEnabled?"处理":"处置"}}:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.treatment" rows="3" ng-show="isEditEmrTemplate"></textarea>                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.treatment}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">医嘱:</label>                                                    <div class="col-md-8">                                                        <input class="form-control" type="text" ng-model="currentEmrTemplate.advice" ng-show="isEditEmrTemplate" />                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.advice}}</div>                                                    </div>                                                </div>                                            </form>                                        </div>                                    </div>                                    <div class="panel-heading clearfix">                                        <div style="text-align: center" class="" ng-if="selectedNode.spriteCssClass == \'image\'">                                            <button type="button" class="btn btn-primary" ng-click="editEmrTemplate()" ng-hide="isEditEmrTemplate">编辑</button>                                            <button type="button" class="btn btn-primary" ng-click="moveEmrTemplate(currentEmrTemplate)" ng-hide="isEditEmrTemplate">移动</button>                                            <button type="button" class="btn btn-primary" ng-click="saveEmrTemplateWithValidation()" ng-show="isEditEmrTemplate">保存</button>                                            <button type="button" class="btn btn-default" ng-click="cancelEmrTemplate()" ng-show="isEditEmrTemplate">取消</button>                                        </div>                                    </div>                                </div>                            </div>                        </div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/practice-emrtemplate-item-main-type-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{isEdit? \'修改大类\' : \'创建大类\'}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="ruleSettingForm" id="ruleSettingForm" novalidate class="form-horizontal" style="margin-left:15px">            <div class="form-group">                <label class="col-sm-12 control-label" style="text-align: left;padding:0;">请输入大类名称</label>            </div>            <div class="form-group">                <div class="col-sm-12 input-container">                    <input type="text" name="subType" class="form-control" ng-model="mainType.itemName">                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="validAndSave()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/practice/views/practice-emrtemplate-itemsetting-category-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">创建类目</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="ruleSettingForm" id="ruleSettingForm" novalidate class="form-horizontal" style="margin-left:15px">            <div class="form-group">                <label class="col-sm-12 control-label" style="text-align: left;padding:0;">请输入类目名称</label>            </div>            <div class="form-group">                <div class="col-sm-12 input-container">                    <input type="text" name="subType" class="form-control" ng-model="mainType.subType">                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="validAndSave()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/practice/views/practice-emrtemplate-itemsetting-view.html','<div class="ares-main-content emr-entry-content practice-emrtemplate-itemsetting-view">    <style type="text/css">        body.ares3 .practice-emrtemplate-itemsetting-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;            padding-top: 8px;        }        .emr-entry-sub-nav {            width: 100%;            min-height: 48px;            border: 1px solid #E3E3E3;            border-top: 0;            background: #f4f4f4;            margin-top: -10px;        }        .emr-entry-content ul, .emr-entry-content li {            margin: 0;            padding: 0;            list-style-type: none;        }        .emr-entry-sub-nav-ul li {            float: left;            width: 136px;            border-right: 1px solid #E3E3E3;            margin-top: 9px;            height: 30px;            text-align: center;        }            .emr-entry-sub-nav-ul li span {                background-color: #fff;                border: 1px solid #E3E3E3;                border-radius: 4px;                text-align: center;                display: inline-block;                width: 100px;                height: 22px;                margin-top: 3px;                cursor: pointer;                font-size: 12px;                line-height: 20px;            }            .emr-entry-sub-nav-ul li:last-child {                border: none;            }            .emr-entry-sub-nav-ul li.active span {                background-color: #00a8cb;                color: #fff;                border-color: #00a8cb;            }        .emr-entry-sub-body {            margin-top: 20px;        }        .left-sub-type {            min-height: 420px;            border-right: 1px solid #E3E3E3;        }        .create-sub-type {            margin-left: 18px;        }            .create-sub-type span {                display: block;                width: 130px;                border: 1px solid #00A8CB;                border-radius: 4px;                color: #00A8CB;                cursor: pointer;                text-align: center;                padding: 3px 0;            }        .create-main-type {            float: right !important;            margin-right: 30px !important;        }            .create-main-type span {                border: 1px solid #00A8CB !important;                border-radius: 4px;                color: #00A8CB !important;                cursor: pointer;                text-align: center;            }        .sub-type-items {            margin-left: 18px;            margin-top: 20px;            width: 100%;            position: relative;        }        .sub-type-items-ul {            border-left: 2px solid #BEE9F2;        }            .sub-type-items-ul li {                position: relative;            }            .sub-type-items-ul .left-dot {                width: 10px;                height: 1px;                color: #BEE9F2;                display: inline-block;                border-bottom: 1px solid #3eccea;                margin-right: 6px;                float: left;                margin-top: 19px;            }            .sub-type-items-ul .text {                position: absolute;                top: 8px;                display: inline-block;                width: 80%;                font-size: 13px;                cursor: pointer;            }                .sub-type-items-ul .text .text-name {                    width: 80px;                    display: inline-block;                    overflow: hidden;                    text-overflow: ellipsis;                    white-space: nowrap;                }                    .sub-type-items-ul .text .text-name:hover, .sub-type-items-ul .text .text-name.active {                        color: #55aef1;                    }                .sub-type-items-ul .text .text-operation {                    float: right;                }                    .sub-type-items-ul .text .text-operation i {                        background: #e0e0e0;                        border-radius: 3px;                        margin-right: 10px;                        padding: 1px 2px;                        font-size: 12px;                    }                        .sub-type-items-ul .text .text-operation i:hover {                            background: #b0b0b0;                        }        .sub-type-items-main i {            color: #00A8CB;            font-size: 20px;            display: inline-block;            margin-left: -10px;            margin-right: 4px;            cursor: pointer;            background: #fff;        }        .sub-type-items-main {            display: block;            width:100%;        }        .sub-type-items-main i {            font-size: 18px;            /* margin-left: 5px; */        }        .sub-type-items-main .text-operation {            float: right;            margin-right: 30px;        }        .sub-type-items-main span {            font-size: 15px;        }        .sub-type-content-items {            max-width: 800px;            margin-left: 25px;            text-align: center;        }            .sub-type-content-items .row {                border-bottom: 1px solid #fff;                line-height: 36px;            }                .sub-type-content-items .row .operation {                    cursor: pointer;                    line-height: 40px;                }        .sub-type-content-items-head {            background-color: #00A8CB;            color: #fff;        }            .sub-type-content-items-head > div {                text-align: center;            }        .sub-type-item {            background-color: #F4F4F4;        }            .sub-type-item > div {                text-align: center;            }            .sub-type-item .col-content > span {                display: block;                text-overflow: ellipsis;                white-space: nowrap;                overflow: hidden;            }        .sub-type-btn {            margin-top: 20px;        }            .sub-type-btn .btn {                padding: 6px 20px;            }            .sub-type-btn .sub-btn-primary {                background-color: #00a8cb;                color: #fff;            }                .sub-type-btn .sub-btn-primary:hover {                    background-color: #11a1bf;                }        .sub-type-item input {            width: 100%;            min-width: 100%;            margin: 3px auto;        }            .sub-type-item input.ng-hide.ng-hide-animate {                display: none;            }        .sub-type-content-items .create-type-item {            border: 1px solid #00a8cb;            cursor: pointer;        }        .create-type-item i {            color: #00a8cb;        }        .t-center {            text-align: center;        }    </style>    <div class="emr-entry-sub-nav">        <ul class="emr-entry-sub-nav-ul clearfix">            <li ng-repeat="mainTypeItem in emrTemplateItemSettingMainTypes" ng-class="{\'active\':$index == showSubTypeIndex}"><span ng-bind="mainTypeItem.itemName | emrTemplateItemSettingMainType" ng-click="changeMainTypeItem(mainTypeItem,$index);"></span></li>            <li class="create-main-type" hidden="hidden">                <span ng-click="createMainType()" ares-hide-when-parent="EMR">新增大类</span>            </li>        </ul>    </div>    <div class="emr-entry-sub-body">        <div class="row">            <div class="col-sm-2 left-sub-type">                <div class="create-sub-type">                    <span ng-click="creteSubType()" ares-hide-when-parent="EMR">创建词条类目</span>                </div>                <div class="sub-type-items">                    <ul class="sub-type-items-ul">                        <li>                            <span class="sub-type-items-main" ng-click="isShowSubType=!isShowSubType"ng-mouseover="showMainRightBtn = true" ng-mouseleave="showMainRightBtn = false">                                <i ng-if="!isShowSubType" class="fa fa-minus-square"></i><i ng-if="isShowSubType" class="fa fa-plus-square"></i>                                <span ng-bind="subTypesMap.mainType | emrTemplateItemSettingMainType"></span>                                <span class="text-operation" ares-hide-when-parent="EMR">                                    <i ng-if="showMainRightBtn" ng-hide="mainType.isDefault" class="glyphicon glyphicon-pencil" ng-click="editMainType()"></i>                                    <i ng-if="showMainRightBtn" ng-hide="mainType.isDefault" class="glyphicon glyphicon-trash" ng-click="deleteMainType()"></i>                                </span>                            </span>                            <ul ng-if="!isShowSubType">                                <li class="clearfix" ng-repeat="sub in subTypesMap.subTypes" ng-mouseover="showRightBtn = true" ng-mouseleave="showRightBtn = false">                                    <span class="left-dot"></span>                                    <span class="text">                                        <span title="{{sub.subType}}" class="text-name" ng-bind="sub.subType" ng-click="changeSubType(sub,$index)" ng-class="{\'active\':$index == showItemIndex}"></span>                                        <span class="text-operation" ares-hide-when-parent="EMR">                                            <i ng-if="showRightBtn" class="glyphicon glyphicon-pencil" ng-click="editSubType(sub,subTypesMap.mainType)"></i><i ng-if="showRightBtn" class="glyphicon glyphicon-trash" ng-click="deleteSubType(sub,$index)"></i>                                        </span>                                    </span>                                </li>                            </ul>                        </li>                    </ul>                </div>            </div>            <div class="col-sm-10 right-sub-content">                <div class="sub-type-content-items">                    <div class="row sub-type-content-items-head">                        <div class="col-sm-2">                            编号                        </div>                        <div class="col-sm-9">                            内容                        </div>                        <div class="col-sm-1"></div>                    </div>                    <div class="row sub-type-item" ng-repeat="item in subItems.items track by item.order">                        <div class="col-sm-2" ng-bind="$index + 1"></div>                        <div class="col-sm-9 col-content">                            <span ng-show="!isEdit" title="{{item.itemContent}}" ng-bind="item.itemContent"></span>                            <input ng-show="isEdit" type="text" name="itemContent" class="form-control" ng-model="item.itemContent" placeholder="最多200个字符" ng-change="changeContent(item,$index)"/>                        </div>                        <div class="col-sm-1 operation">                            <i class="glyphicon glyphicon-trash" ng-click="deleteEmrItem(item,$index)" ng-show="isEdit"></i>                        </div>                    </div>                    <div class="row" ng-if="subItems.items.length == 0 && !isEdit">                        <div class="col-sm-1"></div>                        <div class="col-sm-11 t-center">                            无词条内容                        </div>                    </div>                    <div class="row create-type-item" ng-show="isEdit" ng-click="createEmrItem()">                        <i class="fa fa-plus-circle"></i>                        新增词条                    </div>                    <div class="sub-type-btn">                        <div class="col-sm-1"></div>                        <button class="btn sub-btn-primary" ng-show="!isEdit" ng-click="editEmrItem()" ares-hide-when-parent="EMR">编辑</button>                        <button class="btn sub-btn-primary" ng-show="isEdit" ng-click="saveEmrItem()" ares-hide-when-parent="EMR">保存</button>                        <button class="btn btn-default" ng-show="isEdit" ng-click="cancelEmrItem()" ares-hide-when-parent="EMR">取消</button>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/practice-operatory-browser-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header" style="height:40px;">       <div style="width:200px; float:left;"><h1>诊室列表</h1></div>         <div style="float:right;width:200px;">            <button class="btn btn-default" ng-click="move(-1)">上移</button>            <button class="btn btn-default" ng-click="move(1)">下移</button>            <button class="btn btn-primary" ng-click="createOperatory()">新建</button>        </div>    </div>    <div class="ares-page-content">        <div id="operatoryList" class="ares-grid"></div>    </div></div>');templateCache.put('/app/practice/views/practice-operatory-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">编辑诊室信息</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px;">        <form style="margin-left:15px" class="form-horizontal" name="practiceForm" id="practiceForm">            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">诊室编号:</label>                <div class="col-sm-6 input-container">                    <input class="form-control" name="name" ng-model="currentOperator.name" style="width:200px;" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">诊室说明:</label>                <div class="col-sm-6 input-container">                    <input class="form-control" name="description" ng-model="currentOperator.description" style="width:200px;" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label">关联医生:</label>                <div class="col-sm-6 input-container">                    <select class="form-control" id="doctors" style="width:280px;"></select>                </div>            </div>            <!--<div class="form-group">                <label>所属诊所</label>                <select ng-model="currentOperator.officeId" ng-options="item.id as item.name for item in offices"></select>            </div>-->            <!--<div class="row">                <div class="alert alert-success col-md-3" role="alert" ng-if="officeinfoSaveSuccess">修改成功！</div>                <div class="alert alert-danger col-md-3" role="alert" ng-if="data.error">{{data.error}}</div>            </div>-->        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="save()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/practice/views/practice-patientquery-view.html','<div class="table-responsive">    <div ng-include="getPracticePatientQueryrViews()" /></div>');templateCache.put('/app/practice/views/practice-setting-view.html','<div ui-view style="height: 100%"></div>');templateCache.put('/app/practice/views/practice-systemconfig-borwser-view.html','<div style="width:100%;height:100%;background-color:white">    <nav style="padding-top: 6px; ">        <tabset class="no-tab-content">            <tab ng-click="switchState(\'systemconfigBrowser.emr\')">                <tab-heading>                    <span><i class="icon-bag"></i>病历配置</span>                </tab-heading>            </tab>            <tab ng-click="switchState(\'systemconfigBrowser.dashboard\')">                <tab-heading>                    <span><i class="icon-bag"></i>今日工作配置</span>                </tab-heading>            </tab>            <tab ng-click="switchState(\'systemconfigBrowser.charge\')">                <tab-heading>                    <span><i class="icon-bag"></i>收费配置</span>                </tab-heading>            </tab>        </tabset>    </nav>    <div ui-view style="margin-top: 10px;"></div></div>');templateCache.put('/app/practice/views/practice-systemsetting-appt-type-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">新建预约项目大类</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px;">        <form style="margin-left:15px" class="form-horizontal" name="practiceForm" id="practiceForm">            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">名称:</label>                <div class="col-sm-6 input-container">                    <input class="form-control" ng-disabled="systemseting.isDefault" ng-model="systemseting.itemName" style="width:200px;" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">颜色:</label>                <div class="col-sm-6 input-container" id="div_color">                    <!--<input id="itemColor" class="form-control"/>                    <input id="itemColor1" class="form-control" />-->                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label">是否启用:</label>                <div class="col-sm-6 input-container">                    <label class="radio-inline">                        <input type="radio" name="inactive" ng-value="false" ng-model="systemseting.isInactive">启用                    </label>                    <label class="radio-inline">                        <input type="radio" name="inactive" ng-value="true" ng-model="systemseting.isInactive">禁用                    </label>                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="saveCheck()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/practice/views/practice-systemsetting-appt-type-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-7">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left">预约项目大类配置</h4>                        <div class="pull-right" ares-hide-when-parent="Appointment">                            <button class="btn btn-primary" ng-disabled="showIsEableOrAll" ng-click="up()">上移</button>                            <button class="btn btn-primary" ng-disabled="showIsEableOrAll" ng-click="down()">下移</button>                            <button class="btn btn-primary" ng-click="openEditDialog()">新建项目</button>                        </div>                    </div>                    <div style="padding-left: 10px;padding-top: 10px;">                        <label class="radio-inline">                            <input type="radio" name="inactive" ng-value="false" ng-model="showIsEableOrAll">仅显示启用大类                        </label>                        <label class="radio-inline">                            <input type="radio" name="inactive" ng-value="true" ng-model="showIsEableOrAll">显示所有大类                        </label>                    </div>                    <div class="panel-body">                        <div id="systemsettingList">                        </div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/practice-systemsetting-browser-view.html','<div class="ares-main-content practice-systemsetting-browser-view" ares-clean-kendo>    <style scope>        body.ares3 .practice-systemsetting-browser-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }        #systemsettingList table{            width: 100% !important;        }    </style>    <div class="ares-page-header" ng-hide="isSingleMode">        <h1>系统配置</h1>    </div>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-3" ng-hide="isSingleMode">                <div class="panel panel-default">                    <div class="panel-heading" style="height:55px">                        <h4 class="panel-title pull-left">配置大类</h4>                    </div>                    <div class="panel-body treeviewContainer" id="itemlist">                        <div kendo-tree-view="tree"                             k-data-source="systemSettingItemTreeData"                             k-on-change="onSystemSettingParentItemChange(dataItem)"                             style="height:100%; overflow-y:auto;">                            <span k-template>                                {{dataItem.itemName}}                            </span>                        </div>                    </div>                </div>            </div>            <div class="col-md-7">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left">{{currentParentSettingItem.itemName}}配置</h4>                        <div class="pull-right" ng-if="settingTypeInfo.isChargeItemSetting">                            <button class="btn btn-primary"                                    ng-if="isChargeItemEditAllowed"                                    ng-disabled="isDisableDbClick"                                    ng-click="up()"                                    ng-cloak                                    ares-hide-when-parent="ChargeItem">                                上移                            </button>                            <button class="btn btn-primary"                                    ng-if="isChargeItemEditAllowed"                                    ng-disabled="isDisableDbClick"                                    ng-click="down()"                                    ng-cloak                                    ares-hide-when-parent="ChargeItem">                                下移                            </button>                            <button class="btn btn-primary"                                    ng-if="isChargeItemEditAllowed"                                    ng-click="createSystemSettingItem()"                                    ng-cloak                                    ares-hide-when-parent="ChargeItem">                                新建项目                            </button>                        </div>                        <div class="pull-right" ng-if="settingTypeInfo.isPatientInfoSetting">                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="up()"                                    ng-cloak                                    ares-hide-when-parent="PatientInfo">                                上移                            </button>                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="down()"                                    ng-cloak                                    ares-hide-when-parent="PatientInfo">                                下移                            </button>                            <button class="btn btn-primary"                                    ng-click="createSystemSettingItem()"                                    ng-cloak                                    ares-hide-when-parent="PatientInfo">                                新建项目                            </button>                        </div>                        <div class="pull-right" ng-if="settingTypeInfo.isAppointmentSetting">                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="up()"                                    ng-cloak                                    ares-hide-when-parent="Appointment">                                上移                            </button>                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="down()"                                    ng-cloak                                    ares-hide-when-parent="Appointment">                                下移                            </button>                            <button class="btn btn-primary"                                    ng-click="createSystemSettingItem()"                                    ng-cloak                                    ares-hide-when-parent="Appointment">                                新建项目                            </button>                        </div>                        <div class="pull-right" ng-if="settingTypeInfo.isDepartmentSetting">                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="up()"                                    ng-cloak                                    ares-hide-when-connect-hrp>                                上移                            </button>                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="down()"                                    ng-cloak                                    ares-hide-when-connect-hrp>                                下移                            </button>                            <button class="btn btn-primary"                                    ng-click="createSystemSettingItem()"                                    ng-cloak                                    ares-hide-when-connect-hrp>                                新建项目                            </button>                        </div>                        <div class="pull-right" ng-if="settingTypeInfo.isOtherSetting">                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="up()"                                    ng-cloak>                                上移                            </button>                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="down()"                                    ng-cloak>                                下移                            </button>                            <button class="btn btn-primary"                                    ng-click="createSystemSettingItem()"                                    ng-cloak>                                新建项目                            </button>                        </div>                        <div class="pull-right" ng-if="settingTypeInfo.isCustomerClueSetting">                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="up()"                                    ng-cloak>                                上移                            </button>                            <button class="btn btn-primary"                                    ng-disabled="isDisableDbClick"                                    ng-click="down()"                                    ng-cloak>                                下移                            </button>                            <button class="btn btn-primary"                                    ng-click="createSystemSettingItem()"                                    ng-cloak>                                新建项目                            </button>                        </div>                    </div>                    <div class="panel-body">                        <div id="systemsettingList">                        </div>                    </div>                </div>            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/practice/views/practice-systemsetting-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">修改配置</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="ruleSettingForm" id="ruleSettingForm" novalidate class="form-horizontal" style="margin-left:15px">            <div class="form-group">                <label class="col-sm-4 control-label">所属大类</label>                <div class="col-sm-7">                    <input disabled class="form-control"                           ng-model="currentSystemSettingItem.itemTypeName" />                </div>            </div>            <div class="form-group">                <label class="col-sm-4 control-label">名称</label>                <div class="col-sm-7">                    <input class="form-control" name="itemName"                           ng-model="currentSystemSettingItem.itemName"                           ng-if="settingTypeInfo.isChargeItemSetting"                           ng-cloak                           ares-disable-when-parent="ChargeItem" />                    <input class="form-control" name="itemName"                           ng-model="currentSystemSettingItem.itemName"                           ng-if="settingTypeInfo.isPatientInfoSetting"                           ng-cloak                           ares-disable-when-parent="PatientInfo" />                    <input class="form-control" name="itemName"                           ng-model="currentSystemSettingItem.itemName"                           ng-if="settingTypeInfo.isAppointmentSetting"                           ng-cloak                           ares-disable-when-parent="Appointment" />                    <input class="form-control" name="itemName"                           ng-model="currentSystemSettingItem.itemName"                           ng-if="settingTypeInfo.isDepartmentSetting"                           ng-cloak                           ares-disable-when-parent="Department" />                    <input class="form-control" name="itemName"                           ng-model="currentSystemSettingItem.itemName"                           ng-if="settingTypeInfo.isCustomerClueSetting"                           ng-cloak />                    <input class="form-control" name="itemName"                           ng-model="currentSystemSettingItem.itemName"                           ng-if="settingTypeInfo.isOtherSetting"                           ng-cloak />                </div>            </div>            <div class="form-group" ng-if="settingTypeInfo.isDepartmentSetting">                <label class="col-sm-4 control-label" style="padding-top:0">标准科室分类代码</label>                <div class="col-sm-7">                    <input class="form-control" name="itemCode"                           ng-model="currentSystemSettingItem.itemCode"                           ng-cloak />                </div>            </div>            <div class="form-group" ng-if="settingTypeInfo.isCustomerClueSetting">                <label class="col-sm-4 control-label">说明</label>                <div class="col-sm-7">                    <input class="form-control" name="itemName"                           ng-model="currentSystemSettingItem.itemValue"                           ng-cloak />                </div>            </div>            <!--<div class="row">                <div class="alert alert-success col-md-3" role="alert" ng-if="officeinfoSaveSuccess">修改成功！</div>                <div class="alert alert-danger col-md-3" role="alert" ng-if="data.error">{{data.error}}</div>            </div>-->        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary"                ng-click="validAndSave()"                ng-cloak                ng-if="settingTypeInfo.isChargeItemSetting"                ares-hide-when-parent="ChargeItem">            保存        </button>        <button class="btn btn-primary"                ng-click="validAndSave()"                ng-cloak                ng-if="settingTypeInfo.isPatientInfoSetting"                ares-hide-when-parent="PatientInfo">            保存        </button>        <button class="btn btn-primary"                ng-click="validAndSave()"                ng-cloak                ng-if="settingTypeInfo.isAppointmentSetting"                ares-hide-when-parent="Appointment">            保存        </button>        <button class="btn btn-primary"                ng-click="validAndSave()"                ng-cloak                ng-if="settingTypeInfo.isDepartmentSetting"                ares-hide-when-parent="Department">            保存        </button>        <button class="btn btn-primary"                ng-click="validAndSave()"                ng-cloak                ng-if="settingTypeInfo.isOtherSetting || settingTypeInfo.isCustomerClueSetting">            保存        </button>        <button class="btn btn-primary" ng-click="cancel()">关闭</button>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/practice/views/practice-systemsetting-transactioncode-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}预约项目</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px;">        <form style="margin-left:15px" class="form-horizontal" name="practiceForm" id="practiceForm">            <div class="form-group">                <label class="col-sm-4 control-label myLable myRequired">名称:</label>                <div class="col-sm-6 input-container">                    <input class="form-control" ng-model="transactioncode.name" style="width:200px;" />                </div>            </div>            <div class="form-group">                <label class="col-sm-4 control-label myLable myRequired">颜色:</label>                <div class="col-sm-6 input-container" id="div_color">                </div>            </div>            <div class="form-group">                <label class="col-sm-4 control-label">预约项目大类:</label>                <div class="col-sm-6 input-container">                    <input type="text" id="div_category" style="width:200px;">                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="saveCheck()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/practice/views/practice-systemsetting-transactioncode-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-3">                <div class="panel panel-default">                    <div class="panel-heading" style="height:55px;padding-right:5px;padding-left:5px">                        <h4 class="panel-title pull-left">预约项目大类</h4>                        <div class="pull-right">                            <button class="btn btn-default" ng-disabled="isAllCharge" ng-click="AllChargeItem()">全部项目</button>                        </div>                    </div>                    <div class="panel-body treeviewContainer" style="padding:0">                        <div kendo-tree-view="tree"                              k-data-source="chargeItemTreeData"                             k-on-change="onChargeItemCatagoryChange(dataItem)"                             style="overflow-y: auto; width: 100%;" id="itemlist">                            <span k-template>                                {{dataItem.itemName}}                            </span>                        </div>                    </div>                </div>            </div>            <div class="col-md-9" ng-hide="isAllCharge">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left">{{currentChargeItemCatagory.itemName}}预约项目</h4>                        <div class="pull-right" ares-hide-when-parent="Appointment">                            <button class="btn btn-primary" ng-disabled="isDisableDbClick" ng-click="up()">上移</button>                            <button class="btn btn-primary" ng-disabled="isDisableDbClick" ng-click="down()">下移</button>                            <button class="btn btn-primary" ng-click="openEditDialog()">新建预约项目</button>                        </div>                    </div>                    <div class="panel-body" id="tablelist" style="overflow-y:auto;">                        <div id="currentChargeItemCatagory">                        </div>                    </div>                </div>            </div>            <div class="col-md-9" ng-hide="!isAllCharge">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left" style="padding-top: 7.5px;">全部项目</h4>                        <div class="pull-right">                            <button class="btn btn-default" ng-click="exportExcel()">导出excel</button>                        </div>                    </div>                    <div class="panel-body" id="tablealllist" style="overflow-y:auto;">                        <div id="allCurrentChargeItemCatagory">                        </div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/practice-txplan-item-code-config-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">配置治疗计划项目代码</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0;border-right:0;">        <form style="margin-left:15px" class="form-horizontal" name="practiceForm" id="practiceForm">            <div class="form-group">                <label class="col-sm-4 control-label">前缀:</label>                <div class="col-sm-8 input-container">                    <input class="form-control" type="text" ng-model="commonRule.prefix" maxlength="10" />                </div>            </div>            <div class="form-group">                <label class="col-sm-4 control-label">流水号:</label>                <div class="col-sm-8 input-container">                    <input id="codeNumber" class="form-control" type="number" max="8" min="2" ng-model="commonRule.seqNumberDigits" />                </div>            </div>            <div class="form-group">                <label class="col-sm-4 control-label">预览:</label>                <div class="col-sm-8 input-container" style="padding-top: 8px;">                    <label>{{viewCode}}</label>                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left:0;border-right:0;">        <button class="btn btn-default" ng-click="cancel()">取消</button>        <button class="btn btn-primary" ng-click="save()">保存</button>    </div></div>');templateCache.put('/app/practice/views/practice-txplan-item-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0;border-right:0;">        <form style="margin-left:15px" class="form-horizontal" name="practiceForm" id="practiceForm">            <div class="form-group">                <label class="col-sm-3 control-label">项目代码:</label>                <div class="col-sm-8 input-container">                    <input class="form-control" ng-model="txPlan.code" style="display:inline;" ng-disabled="txPlan.isDefault"  ares-disable-when-parent="ChargeItem"/>                    <button type="button" class="btn btn-default" title="刷新项目代码" style="display:inline;" ng-click="refTPCode()" ng-disabled="txPlan.isDefault" ares-hide-when-parent="ChargeItem">                        <span class="glyphicon glyphicon-refresh"></span>                    </button>                    <button type="button" class="btn btn-default" title="修改项目代码规则" ng-disabled="txPlan.isDefault" style="display:inline;" ng-click="openItemCodeConfigDialog()" ares-hide-when-parent="ChargeItem">                        <span class="glyphicon glyphicon-cog"></span>                    </button>                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label">项目名称:</label>                <div class="col-sm-8 input-container">                    <input class="form-control" ng-model="txPlan.name" style="max-width:none;" ng-disabled="txPlan.isDefault"  ares-disable-when-parent="ChargeItem"/>                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label">是否启用:</label>                <div class="col-sm-8 input-container">                    <label class="radio-inline">                        <input type="radio" name="inactive" ng-value="false" ng-model="txPlan.isInactive" ares-disable-when-parent="ChargeItem">启用                    </label>                    <label class="radio-inline">                        <input type="radio" name="inactive" ng-value="true" ng-model="txPlan.isInactive" ares-disable-when-parent="ChargeItem">禁用                    </label>                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label">关联诊断:</label>                <div class="col-sm-8 input-container">                    <select id="txPlanDiagnose" class="not-ignore form-control" ng-model="txPlan.diagnoseItem" ares-disable-when-parent="ChargeItem"></select>                </div>            </div>            <div class="form-group" style="margin-right:0;">                <label class="col-sm-3 control-label">备注:</label>                <div class="col-sm-8 input-container">                    <textarea class="form-control" style="height:107px;max-width:100%" ng-model="txPlan.notes" ng-disabled="txPlan.isDefault" ares-disable-when-parent="ChargeItem"></textarea>                </div>            </div>            <div class="form-group" style="margin-right:0;">                <label class="col-sm-3 control-label">原价:</label>                <div class="col-sm-8 input-container">                    <input style="width:120px;" disabled kendo-numeric-text-box k-min="0" k-max="10000" k-step="1" k-options="{format: \'#.##\', decimals:2}" k-ng-model="txPlan.showPrice" />                    <span class="form-control-static">元</span>                    <div class="pull-right">                        <button class="btn btn-default" ng-click="addChargeItem()" ares-hide-when-parent="ChargeItem">                            <span class="glyphicon glyphicon-plus"></span> 添加                        </button>                    </div>                </div>            </div>            <div class="form-group" style="margin-right:0;">                <table class="table table-striped table-bordered" style="margin-bottom:0;">                    <thead>                        <tr>                            <th class="text-left">项目名称</th>                            <th class="text-left">单价</th>                            <th class="text-left">数量</th>                            <th class="text-left">金额</th>                            <th class="text-left" ares-hide-when-parent="ChargeItem">操作</th>                        </tr>                    </thead>                    <tbody>                        <tr ng-repeat="item in txPlan.chargeItemList">                            <td>{{item.itemName}}</td>                            <td>{{item.price}}</td>                            <td>                                <input style="max-width:none;" kendo-numeric-text-box k-min="1" k-on-change="onItemCountChange(kendoEvent,$index)" k-max="10000" k-step="1" k-options="{format: \'#\', decimals:0}" k-ng-model="item.count"  ares-disable-when-parent="ChargeItem"/>                            </td>                            <td>{{item.price*item.count}}</td>                            <td ares-hide-when-parent="ChargeItem">                                <button type="button" class="btn btn-default" ng-click="deleteChargeItem($index)">                                    <span class="glyphicon glyphicon-trash"></span> 删除                                </button>                            </td>                        </tr>                    </tbody>                </table>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left:0;border-right:0;">        <button class="btn btn-default" ng-click="cancel()">取消</button>        <button class="btn btn-primary" ng-click="saveCheck()" ares-hide-when-parent="ChargeItem">保存</button>    </div></div>');templateCache.put('/app/practice/views/practice-txplan-item-plan-view.html','<div class="enyo" ares-modal-dragable ares-clean-kendo>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">添加处置</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" style="padding:10px;">            <form id="addHandle" name="addHandle" class="form-horizontal">                <div class="form-group" style="padding-left:40px;">                    <div class="col-sm-7" style="margin-left:-20px;margin-top:5px;">                        <label class="col-md-5" style="margin-top:2px;">按大类筛选:</label>                        <input id="handleSupCategoryList" kendo-drop-down-list="" k-on-change="onHandleSupCategorySelect(kendoEvent)" ng-model="defaultSupCategoryId" k-data-text-field="\'itemName\'" k-data-value-field="\'id\'" k-data-source="chargeSupCatagoryList" type="text" class="form-control" style="width:150px;margin-top:-5px;">                    </div>                    <div class="col-sm-7" style="margin-left:-20px;margin-top:20px;">                        <label class="col-md-5" style="margin-top:2px;">按小类筛选:</label>                        <input id="handleTypeList" kendo-drop-down-list="" k-on-change="onHandleTypeSelected(kendoEvent)" ng-model="defaultCategoryId" k-data-text-field="\'itemName\'" k-data-value-field="\'id\'" k-data-source="chargeCatagoryList" type="text" class="form-control" style="width:150px;margin-top:-5px;">                    </div>                    <div class="col-sm-5" style="margin-left:-20px;margin-top:15px">                        <input class="form-control" ng-model="chargeItemsFilter" ng-change="filteChargeItemByFilter()" placeholder="项目名称/拼音缩写" />                    </div>                </div>                <div class="form-group" style="padding-left:50px;">                    <div id="itemGrid" style="width:500px;height:550px;overflow:auto;"></div>                </div>            </form>        </div>        <div class="enyo-modal-footer" style="padding:10px;">            <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>            <button type="button" class="btn btn-primary" ng-click="save()">确定</button>        </div>    </div></div>');templateCache.put('/app/practice/views/practice-txplan-item-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-12">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left">治疗计划项目配置</h4>                        <div class="pull-right">                            <button class="btn btn-primary" ng-click="openEditDialog()" ares-hide-when-parent="ChargeItem">新建项目</button>                        </div>                    </div>                    <div style="padding-left: 10px;padding-top: 10px;">                        <label class="radio-inline">                            <input type="radio" name="inactive" ng-value="false" ng-model="showIsEableOrAll">仅显示启用项目                        </label>                        <label class="radio-inline">                            <input type="radio" name="inactive" ng-value="true" ng-model="showIsEableOrAll">显示所有项目                        </label>                    </div>                    <div class="panel-body">                        <div id="systemsettingList"></div>                    </div>                </div>            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/practice/views/appt-inventory/appt-inventory-cell.html','<div class="appt-inventory-cell-normal"     ng-class="{\'cell-cursor\':isShowEditButton}"     ng-mouseover="showEditButton()"     ng-mouseleave="hideEditButton()"     ng-click="edit()">    <table style="height:39px">        <tr ng-if="!isDayInventory">            <td>                <span ng-show="!editable">{{templateAmount.amount}}</span>                <input ng-show="editable" ng-model="templateAmount.amount" id="uxAmountValue" type="text" ng-blur="focusSave()"  ng-class="{\'error-style\':error}" style="width: 40px;" />                <span ng-show="isShowEditButton" class="glyphicon glyphicon-pencil"></span>                <div ng-show="editable" style="float: right">                    <button class="appt-inventory-cell-button" ng-mouseover="setFocusValue(false)" ng-mouseleave="setFocusValue(true)" ng-click="save();$event.stopPropagation();" title="保存"><span class="glyphicon glyphicon-ok"></span></button>                    <button class="appt-inventory-cell-button" ng-mouseover="setFocusValue(false)" ng-mouseleave="setFocusValue(true)" ng-click="cancel();$event.stopPropagation();" title="取消"><span class="glyphicon glyphicon-remove"></span></button>                </div>            </td>        </tr>        <tr ng-if="isDayInventory">            <td ng-if="!dailyAmount.isEnabled" style="background-color:gray">                <span>{{dailyAmount.displayAmount + (dailyAmount.appliedAmount > 0 ? "("+ dailyAmount.appliedAmount +")" : "")}}</span>            </td>            <td ng-if="dailyAmount.isEnabled" ng-class="{\'appt-inventory-cell-background-color\':(dailyAmount.hasCreated && dailyAmount.amount != dailyAmount.templateAmount),\'error-style\':error}">                <span ng-show="!editable">{{dailyAmount.displayAmount + (dailyAmount.appliedAmount > 0 ? "("+ dailyAmount.appliedAmount +")" : "")}}</span>                <span ng-show="isShowEditButton" class="glyphicon glyphicon-pencil"></span>                <input ng-show="editable" ng-model="dailyAmount.displayAmount" type="text" id="uxAmountValue" ng-class="{\'error-style\':error}" ng-blur="focusSave()" style="width: 40px;" />                <span ng-show="editable">{{dailyAmount.appliedAmount > 0 ? "("+ dailyAmount.appliedAmount +")" : ""}}</span>                <div ng-show="editable" style="float: right">                    <button class="appt-inventory-cell-button" ng-mouseover="setFocusValue(false)" ng-mouseleave="setFocusValue(true)" ares-click="save();$event.stopPropagation();" title="保存"><span class="glyphicon glyphicon-ok"></span></button>                    <button class="appt-inventory-cell-button" ng-mouseover="setFocusValue(false)" ng-mouseleave="setFocusValue(true)" ng-click="cancel();$event.stopPropagation();" title="取消"><span class="glyphicon glyphicon-remove"></span></button>                </div>            </td>        </tr>    </table></div>');templateCache.put('/app/practice/views/appt-inventory/appt-inventory-home-view.html','<ares-tab ng-if="canConfigApptInventory()" states="states" root-state="setting.apptInventory"></ares-tab><div ng-if="!canConfigApptInventory()">    <h3>您尚未开通第三方渠道预约，如有需要，请联系领健客服。</h3></div>');templateCache.put('/app/practice/views/appt-inventory/appt-inventory-items-base-setting-view.html','<div class="appt-inventory-base-setting">    <style>        .appt-base-setting-form {            margin: 20px 0 0 38px;        }            .appt-base-setting-form .col-sm-1,            .appt-base-setting-form .col-sm-2 {                padding: 0;            }        .font-bold {            font-weight: bold;        }        .form-group label.label-width {            width: 95px;            padding: 0;            margin-top: 9px;        }        .form-group label.source-service {            margin-top: 0px;        }        .form-text .form-control-static {            color: #000;        }        .appt-inventory-base-setting .form-group .ares-radio-inline input[type=radio] {            display: inline-block;        }        .appt-inventory-base-setting .form-group .ares-radio-inline label {            margin-right: 15px;            vertical-align: top;        }    </style>    <form name="Form" class="form-horizontal appt-base-setting-form">        <div class="form-group">            <div>                <label class="ares-radio-inline content-row-cell" style="">                    <input type="radio" name="apptInventoryCalcMode"                           ng-value="0" ng-disabled="!isEdit"                           ng-model="apptInventoryCalcMode"                           id="netflowFirst">                    <label for="netflowFirst" ng-disabled="!isEdit">                        流量最优                    </label>                </label>                <label class="ares-radio-inline content-row-cell ">                    <input type="radio" name="apptInventoryCalcMode"                           ng-value="1" ng-disabled="!isEdit"                           ng-model="apptInventoryCalcMode"                           id="resourceFirst">                    <label for="resourceFirst" ng-disabled="!isEdit">                        资源最优                    </label>                </label>            </div>            <div>                <table>                    <tbody>                        <tr>                            <td><span style="font-weight:bold">注：</span></td>                            <td>流量最优：开放诊所全营业时间段，建议以获客引流为主的诊所选择</td>                        </tr>                    </tbody>                    <tbody>                        <tr>                            <td></td>                            <td>资源最优：仅开放医生空闲时间段，建议自主流量较大的门诊选择</td>                        </tr>                    </tbody>                </table>            </div>        </div>        <div class="form-group">            <appt-inventory-service-list selected-service="selectedService"></appt-inventory-service-list>        </div>        <div class="form-group">            <label class="col-sm-2 label-width">预约提前天数</label>            <div class="col-sm-1" ng-show="isEdit">                <input type="number" min="0" max="30" class="form-control" ng-model="baseSetting.openDayOffset" name="openDayOffset" />            </div>            <div class="form-text">                <p class="form-control-static">                    <span ng-hide="isEdit" class="font-bold" ng-bind="baseSetting.openDayOffset"></span> 天 （0~30,不包括今天，0为当天可约）                </p>            </div>        </div>        <div class="form-group">            <label class="col-sm-2 label-width">可约天数</label>            <div class="col-sm-1" ng-show="isEdit">                <input type="number" min="0" max="30" class="form-control" ng-model="baseSetting.openDayCount" name="openDayCount" />            </div>            <div class="form-text">                <p class="form-control-static">                    <span ng-hide="isEdit" class="font-bold" ng-bind="baseSetting.openDayCount"></span> 天 （0~30,不包括今天）                </p>            </div>        </div>        <div class="apptt-nventory-plan-action">            <button class="btn btn-default ares-btn-blue" ng-hide="isEdit" ng-click="editBaseSetting()">                编辑            </button>            <button class="btn btn-primary ares-btn-blue" ng-show="isEdit" ng-click="saveBaseSetting(Form)">                保存            </button>            <button class="btn btn-default" ng-show="isEdit" ng-click="cancelBaseSetting(Form)">                取消            </button>        </div>    </form></div>');templateCache.put('/app/practice/views/appt-inventory/appt-inventory-items-mapping-view.html','<div class="apptt-nventory-plan-wrap">    <style>        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap {            vertical-align: top;            width: 18%;            border: 1px solid #e3e3e3;            background-color: #f7f7f7;            float: left;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list-header {            width: 100%;            background-color: #e3e3e3;            height: 40px;            padding: 5px;            font-size: 0;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list-header label {            display: inline-block;            font-size: 16px;            color: #666;            vertical-align: middle;            height: 30px;            width: 200px;            text-align: left;            padding-left: 25px;            margin: 0;            line-height: 30px;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list-header .add-dedution-plan {            display: inline-block;            font-size: 14px;            vertical-align: middle;            width: 50px;            height: 24px;            color: #008aa8;            border: 1px solid #008aa8;            border-radius: 5px;            background-color: #fff;            cursor: pointer;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list {            width: 100%;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list .apptt-nventory-plan-item {            position: relative;            padding: 5px;            border-bottom: 1px solid #e3e3e3;            min-height: 46px;            display: table;            background-color: #fff;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list .selected-plan-item::before {            content: \'\';            width: 5px;            height: 47px;            background: #008aa8;            position: absolute;            top: -1px;            left: 0;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list .plan-item-title {            display: table-cell;            line-height: 20px;            margin: 0;            width: 250px;            padding-left: 25px;            vertical-align: middle;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list .selected-plan-item .plan-item-title {            color: #008aa8;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list .plan-item-action {            display: table-cell;            padding-left: 10px;            height: 20px;            width: 80px;            vertical-align: middle;            font-size: 0;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list .plan-item-action a {            display: none;            font-size: 17px;            width: 20px;            height: 20px;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list .apptt-nventory-plan-item:hover {            background-color: #ebfcff;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-list-wrap .apptt-nventory-plan-list .apptt-nventory-plan-item:hover .plan-item-action a {            display: inline-block;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail {            float: left;            width: 81%;            margin-left: 1%;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-detail-header {            height: 40px;            margin-bottom: 20px;            display: table;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-detail-header label {            display: table-cell;            vertical-align: middle;            margin: 0;            font-size: 16px;            line-height: 40px;            width: 85px;            font-weight: normal;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-detail-header p {            display: table-cell;            vertical-align: middle;            margin: 0;            font-size: 16px;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-detail-header .apptt-nventory-name-input-wrap {            display: inline-block;            vertical-align: middle;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-detail-header #apptt-nventory-name-input {            width: 360px;            max-width: 360px;            box-sizing: border-box;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table {            width: 100%;            border-top: 2px solid #00a6c9;            border-bottom: 2px solid #00a6c9;            margin-bottom: 20px;            border-collapse: separate;         }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table tr th {            height: 34px;            border-bottom: 1px solid #00a6c9;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table tr td {            height: 44px;            border-bottom: 1px solid #e3e3e3;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table tr:last-child td {            border-bottom: none;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table .step-index {            width: 60px;            text-align: center;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table .step-name {            text-align: center;            width: 260px;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table .step-name-input {            display: inline-block;            vertical-align: middle;            width: 200px;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table .step-price-scale {            width: 140px;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table .step-ratio-input {            display: inline-block;            vertical-align: middle;            width: 80px;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table .step-action {            width: 60px;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-step-table .step-action a {            font-size: 18px;            font-weight: 400;            color: #999;            background: #fff;            border: 1px solid #ccc;            border-radius: 5px;            text-align: center;            padding: 5px;            margin: 0;            cursor: pointer;            display: inline-block;        }        .apptt-nventory-plan-wrap .apptt-nventory-plan-detail .apptt-nventory-plan-action {            text-align: center;            height: 40px;            margin-top: 20px;        }        .icon-style {            font-size: 13px !important;            color: #666A73 !important;        }        .icon-style:hover {            color: #00A9C8 !important;        }        .appt-inventory-items-max-appt-number-input.ng-hide.ng-hide-animate {            display: none;        }        .apptt-nventory-plan-detail h3.apptt-title {            margin-bottom:10px;            border-bottom:1px solid #e5e5e5;            color:#333;            line-height:35px;        }    </style>    <div class="clearfix">        <appt-inventory-service-list selected-service="selectedService"></appt-inventory-service-list>    </div>    <br>    <div class="clearfix">        <div class="apptt-nventory-plan-list-wrap">            <div class="apptt-nventory-plan-list-header">                <label>服务项目</label>            </div>            <ul class="apptt-nventory-plan-list">                <li class="apptt-nventory-plan-item" ng-repeat="channel in apptItems.data"                    ng-class="channel.id==selectedChannelId?\'selected-plan-item\':\'\'"                    ng-click="changeChannel(channel)">                    <p class="plan-item-title">                        <span class="item-selected"></span>                        <span ng-bind="channel.channelItemName"></span>                    </p>                </li>            </ul>        </div>        <div class="apptt-nventory-plan-detail ares-main-content" ares-clean-kendo>            <h3 class="apptt-title">时间限制</h3>            <div style="margin:20px 0;">                <label><input type="checkbox" ng-disabled="!isEdit" ng-model="apptItem.isUnavailableByHour" ng-true-value="false" ng-false-value="true" style="margin-right:8px;vertical-align:top;color:#333;"/>只约整点</label>                <label style="margin-left:25px;"><input type="checkbox" ng-disabled="!isEdit" ng-model="apptItem.isUnavailableByHalfhour" ng-true-value="false" ng-false-value="true" style="margin-right:8px;vertical-align:top;color:#333;"/>只约半点</label>            </div>            <h3 class="apptt-title">服务项目映射</h3>            <table class="apptt-nventory-plan-step-table">                <tr>                    <th class="step-name">关联医生</th>                    <th class="step-price-scale">可约数量</th>                    <th class="step-action" ng-show="isEdit">操作</th>                </tr>                <tr ng-repeat="item in apptItem.itemProviders">                    <td class="step-name">                        <div class="step-name-input" ng-show="isEdit">                            <input class="form-control" type="text" ng-model="item.providerId" id="{{$index}}"                                   data-ng-init="initDrop($index,doctors,item.providerId,item)"                                   data-ng-change="onDoctorSelected(item.providerId, $index)"/>                        </div>                        <span ng-hide="isEdit" ng-bind="item.providerName"></span>                    </td>                    <td class="step-price-scale">                        <div class="step-ratio-input" ng-show="isEdit">                            <input class="form-control appt-inventory-items-max-appt-number-input" type="text"                                   ng-model="item.maxApptNumber" ng-hide="item.providerId == 0"/>                        </div>                        <span ng-hide="isEdit" ng-bind="item.maxApptNumber"></span>                    </td>                    <td class="step-action" ng-show="isEdit">                        <a class="add-step-item glyphicon glyphicon-plus"                           ng-click="addDianPingItem(item)"                           ng-show="$index==apptItem.itemProviders.length-1 && apptItem.itemProviders[0].providerId!=0"></a>                        <a class="remove-step-item glyphicon glyphicon-minus"                           ng-click="removeDianPingItem($index)"></a>                    </td>                </tr>            </table>            <div class="apptt-nventory-plan-action">                <button class="btn btn-default ares-btn-blue"                        ng-hide="isEdit" ng-click="editDianPing()">                    编辑                </button>                <button class="btn btn-primary ares-btn-blue"                        ng-show="isEdit" ng-click="saveDianPing()">                    保存                </button>                <button class="btn btn-default"                        ng-show="isEdit" ng-click="cancelEditDianPing()">                    取消                </button>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/appt-inventory/appt-inventory-items-setting-view.html','<div ares-clean-kendo>    <div>        <style scoped>            .head-table .head-th {                text-align: center;            }            .cell-cursor {                cursor: pointer;            }            .error-style {                border-color: red;            }        </style>        <div class="clearfix">            <appt-inventory-service-list selected-service="selectedService"></appt-inventory-service-list>        </div>        <div style="text-align: left; margin-top: 10px;">            <div class="btn-group">                <button type="button" class="btn btn-default" style="width:120px"                        ng-click="toggleMode(true, selectedService)" ng-class="{\'btn-primary\': isDayInventory}">                    当前库存配置                </button>                <button type="button" class="btn btn-default default-btn" style="width:120px"                        ng-click="toggleMode(false, selectedService)" ng-class="{\'btn-primary\': !isDayInventory}">                    库存模板配置                </button>            </div>            <div style="display:inline-block;float:right" ng-if="!isDayInventory">                <button type="button" class="btn btn-default default-btn btn-primary" ng-click="resetAllInventoryItem()">                    重置所有库存模板                                </button>             </div>        </div>        <div>            <table style="border: solid #808080 1px;background-color: #f5f5f5;width:100%;margin:0;margin-top:10px;" class="table table-bordered table-hover head-table">                <thead ng-if="isDayInventory">                    <tr>                        <th ng-style="{\'width\':\'12.5%\'}" style="padding:0;vertical-align: inherit;text-align:center;">                            <div class="btn-group" role="group">                                <button type="button" class="btn  btn-sm btn-default" style="padding:5px;width:75px;" ng-click="changeWeek(-7, selectedService);">                                    <span class="glyphicon glyphicon-triangle-left"></span>上周                                </button>                                <button type="button" class="btn  btn-sm btn-default" style="padding:5px;width:75px;" ng-click="changeWeek(7, selectedService)">                                    下周                                    <span class="glyphicon glyphicon-triangle-right"></span>                                </button>                            </div>                        </th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">{{range.monday}}</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">{{range.tuesday}}</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">{{range.wednesday}}</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">{{range.thursday}}</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">{{range.friday}}</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">{{range.saturday}}</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">{{range.sunday}}</th>                    </tr>                    <tr>                        <th style="padding: 0px;text-align:center;" ng-style="{\'width\':\'12.5%\'}"></th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期一</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期二</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期三</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期四</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期五</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期六</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期日</th>                    </tr>                </thead>                <thead ng-if="!isDayInventory">                    <tr>                        <th style="padding: 0px;text-align:center;" ng-style="{\'width\':\'12.5%\'}"></th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期一</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期二</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期三</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期四</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期五</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期六</th>                        <th class="head-th" ng-style="{\'width\':\'12.5%\'}">星期日</th>                    </tr>                </thead>            </table>            <div style="padding-bottom:10px;">                <div ng-if="isDayInventory">                    <appt-inventory-setting-content-view appt-inventory-daily="apptInventorys" is-day-inventory="true"></appt-inventory-setting-content-view>                </div>                <div ng-if="!isDayInventory">                    <appt-inventory-setting-content-view appt-inventory-template="apptInventoryTemplates" is-day-inventory="false"></appt-inventory-setting-content-view>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/appt-inventory/appt-inventory-service-list.html','<div>    <label class="col-sm-2 label-width source-service" style=\'width:95px;line-height: 33px;\'>渠道服务</label>    <div class="col-sm-1">        <input class="form-control" id="channelService" name="channelService" />    </div></div>');templateCache.put('/app/practice/views/appt-inventory/appt-inventory-setting-content-view.html','<style scoped>    .content-table td {        text-align: center;        width: 1%;        word-break: keep-all;        white-space: nowrap;        overflow: hidden;        text-overflow: ellipsis;    }    .appt-inventory-cell-normal {        width: 100%;        height: 39px;    }    .appt-inventory-cell {        position: relative;        top: -25px;    }    .appt-inventory-cell-button {        color: #333;        border-color: #ccc;        background-color: #fff;        line-height: 1.72em;        text-align: center;        cursor: pointer;        border-style: solid;        border-width: 1px;        -webkit-appearance: none;        border-radius: 4px;    }    .appt-inventory-cell-background-color{        background-color:yellow;    }</style><table class="table table-bordered content-table" style="width:100%;margin-bottom:0px;table-layout:fixed;text-align:center;">    <tr ng-repeat="item in apptInventoryDaily">        <td style="font-weight:bold;padding-top:10px;">{{item.span}}</td>        <td style="padding:0;">            <appt-inventory-cell selected-service="selectedService" day-of-week="1" error="false" focus-on-save="true" is-day-inventory="true" daily-amount="item.dailyAmounts[0]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>        <td style="padding:0;">            <appt-inventory-cell selected-service="selectedService" day-of-week="2" error="false" focus-on-save="true" is-day-inventory="true" daily-amount="item.dailyAmounts[1]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>        <td style="padding:0;">            <appt-inventory-cell selected-service="selectedService" day-of-week="3" error="false" focus-on-save="true" is-day-inventory="true" daily-amount="item.dailyAmounts[2]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>        <td style="padding:0;">            <appt-inventory-cell selected-service="selectedService" day-of-week="4" error="false" focus-on-save="true" is-day-inventory="true" daily-amount="item.dailyAmounts[3]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>        <td style="padding:0;">            <appt-inventory-cell selected-service="selectedService" day-of-week="5" error="false" focus-on-save="true" is-day-inventory="true" daily-amount="item.dailyAmounts[4]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>        <td style="padding:0;">            <appt-inventory-cell selected-service="selectedService" day-of-week="6" error="false" focus-on-save="true" is-day-inventory="true" daily-amount="item.dailyAmounts[5]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>        <td style="padding:0;">            <appt-inventory-cell selected-service="selectedService" day-of-week="0" error="false" focus-on-save="true" is-day-inventory="true" daily-amount="item.dailyAmounts[6]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>    </tr></table>');templateCache.put('/app/practice/views/appt-inventory/appt-inventory-setting-template-content-view.html','<style scoped>    .content-table td {        text-align: center;        width: 1%;        word-break: keep-all;        white-space: nowrap;        overflow: hidden;        text-overflow: ellipsis;    }    .appt-inventory-cell-normal {        width: 100%;        height: 39px;    }    .appt-inventory-cell {        position: relative;        top: -25px;    }    .appt-inventory-cell-button {        color: #333;        border-color: #ccc;        background-color: #fff;        line-height: 1.72em;        text-align: center;        cursor: pointer;        border-style: solid;        border-width: 1px;        -webkit-appearance: none;        border-radius: 4px;    }</style><table class="table table-bordered content-table" style="width:100%;margin-bottom:0px;table-layout:fixed;text-align:center;">    <tr ng-repeat="item in apptInventoryTemplate">        <td style="font-weight:bold;padding-top:10px;">{{item.span}}</td>        <td style="padding:0;">            <appt-inventory-cell selected-service="selectedService" day-of-week="1" error="false" focus-on-save="true" is-day-inventory="false" template-amount="item.templateAmounts[1]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>                                                                      <td style="padding:0;">                                                        <appt-inventory-cell selected-service="selectedService" day-of-week="2" error="false" focus-on-save="true" is-day-inventory="false" template-amount="item.templateAmounts[2]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>                                                                      <td style="padding:0;">                                                        <appt-inventory-cell selected-service="selectedService" day-of-week="3" error="false" focus-on-save="true" is-day-inventory="false" template-amount="item.templateAmounts[3]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>                                                                      <td style="padding:0;">                                                        <appt-inventory-cell selected-service="selectedService" day-of-week="4" error="false" focus-on-save="true" is-day-inventory="false" template-amount="item.templateAmounts[4]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>                                                                      <td style="padding:0;">                                                        <appt-inventory-cell selected-service="selectedService" day-of-week="5" error="false" focus-on-save="true" is-day-inventory="false" template-amount="item.templateAmounts[5]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>                                                                      <td style="padding:0;">                                                        <appt-inventory-cell selected-service="selectedService" day-of-week="6" error="false" focus-on-save="true" is-day-inventory="false" template-amount="item.templateAmounts[6]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>                                                                      <td style="padding:0;">                                                        <appt-inventory-cell selected-service="selectedService" day-of-week="0" error="false" focus-on-save="true" is-day-inventory="false" template-amount="item.templateAmounts[0]" is-show-edit-button="false" editable="false"></appt-inventory-cell>        </td>    </tr></table>');templateCache.put('/app/practice/views/appt-inventory/appt-inventoy-items-setting-reset-view.html','<div ares-clean-kendo="" class="enyo inventory-template-reset-view">    <style scoped="">        .template-reset-form {            margin: 20px auto;            font-size: 13px;        }            .template-reset-form .form-group {                margin-bottom: 5px;            }            .template-reset-form .label-width {                width: 150px;                text-align: right;                padding: 0;                margin-right: 10px;                line-height: 32px;            }            .template-reset-form .label-width label {                font-weight: normal;                color: #9397a2;            }            .template-reset-form .custom-width {                width: 85px;                padding: 0;            }            .template-reset-form .form-group .form-control {                max-width: 80px;                box-shadow: none;            }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">重置所有库存模板</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <form class="template-reset-form">                <div class="form-group clearfix">                    <div class="col-sm-2 label-width">                        <label>将所有库存模板重置为</label>                    </div>                    <div class="col-sm-5 input-container custom-width">                        <input style="width:90px;" kendo-numeric-text-box k-min="1" k-ng-model="amount" k-options="{format: \'#\', decimals:0}" />                    </div>                </div>            </form>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary" ng-click="confirm()">保存</button>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-category-edit-view.html','<div id="charge-category-edit-modal-wrap" ares-clean-kendo class="enyo">    <style scoped>        #charge-category-edit-modal-wrap .column-title {            width: 30%;            float: left;            font-size: 14px;            color: #575d6a;            letter-spacing: 0;            line-height: 33px;            font-weight: normal;            text-align: right;        }        #charge-category-edit-modal-wrap .column-context {            font-size: 14px;            color: #3d3d3d;            letter-spacing: 0;            line-height: 14px;            width: 100%;            height: 100%;            font-weight: normal;        }        #charge-category-edit-modal-wrap .config-on {            background: transparent url(/Content/imgs/config-on-off.png) no-repeat 0 0;            width: 40px;            background-size: cover;            margin-top: 5px;            height: 18px;            border: none;        }            #charge-category-edit-modal-wrap .config-on:hover {                cursor: pointer;            }        #charge-category-edit-modal-wrap .config-off {            background: transparent url(/Content/imgs/config-on-off.png) no-repeat -40px 0;            width: 40px;            background-size: cover;            margin-top: 5px;            height: 18px;            border: none;        }            #charge-category-edit-modal-wrap .config-off:hover {                cursor: pointer;            }        #charge-category-edit-modal-wrap .column-context-contianer {            height: 32px;            overflow: hidden;            width: 300px;            margin: 0;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{isEdit? \'编辑\':\'新建\'}}收费小类</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" style="height:300px;" ng-style="{\'height\':showOrganizations? \'270px\':\'210px\'}">            <div class="form-group" style="margin-top:15px;" ng-if="showOrganizations">                <label class="column-title control-label">可用机构：</label>                <div class="column-context-contianer" style="height:34px;overflow:hidden;">                    <ares-multi-select id="org" data-placeholder="请选择机构" tag="机构"                                       ng-model="selectedOrgs"                                       text-field="name" value-field="id"                                       multi-source="organizations"                                       select-height="430"                                       on-select="onOrganizationSelected(selectedIds)"                                       search-choice="" soure-url="" style="width: 280px;"></ares-multi-select>                </div>            </div>            <div class="form-group" style="margin-top: 15px;">                <label class="column-title control-label">小类名称：</label>                <div class="column-context-contianer">                    <input type="text" id="category-name-input" class="column-context form-control"                           ng-disabled="isDisabledEditName()"                           ng-model="category.itemName"                           ares-disable-when-parent="ChargeItem">                </div>            </div>            <div class="form-group" style="margin-top: 15px;">                <label class="column-title control-label">小类英文名称：</label>                <div class="column-context-contianer">                    <input type="text" id="category-english-name-input" class="column-context form-control"                           ng-model="category.itemEnglishName"                           ares-disable-when-parent="ChargeItem">                </div>            </div>            <div class="form-group" style="margin-top: 15px;">                <label class="column-title control-label">大类名称：</label>                <div class="column-context-contianer">                    <input type="text" id="super-category-drop-down-list" class="column-context form-control" style="width:280px;"                           ares-disable-when-parent="ChargeItem">                </div>            </div>            <div class="form-group" style="margin-top: 15px;">                <label class="column-title control-label">是否成交：</label>                <div class="column-context-contianer">                    <input class="config-on"                           readonly="readonly"                           ng-class="category.isInDeal ? \'config-on\':\'config-off\'"                           ng-click="onIsInDealClick()"                           ng-disabled="isDisabledEditInDeal()"                           ares-disable-when-parent="ChargeItem" />                </div>            </div>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="close()">关闭</span>            <button class="btn btn-primary last-field" ng-click="onSave()">保存</button>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-category-view.html','<div class="ares-main-content practice-charge-category-view" ares-clean-kendo>    <style>        body.ares3 .practice-charge-category-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }        #charge-category-grid .category-list-grid {            box-shadow: 0 0 5px 0 #ccc;        }        #charge-category-grid .new-super-category-item-view input {            height: 34px;            border-radius: 5px;            padding: 5px 10px;            border: 1px solid #ccc;            box-sizing: border-box;            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);            -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;            -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;        }        #charge-category-grid .new-super-category-item-view .super-category-item-name-input {            width: 300px;        }        #charge-category-grid .new-super-category-item-view .super-category-item-english-name-input {            width: 300px;        }        #charge-category-grid .category-list-grid .new-category-item-view input {            height: 34px;            border-radius: 5px;            padding: 5px 10px;            border: 1px solid #ccc;            box-sizing: border-box;            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);            -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;            -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;        }        #charge-category-grid .category-list-grid .new-category-item-view .category-item-name-input {            width: 300px;        }        #charge-category-grid .category-list-grid .new-category-item-view .category-item-english-name-input {            width: 300px;        }        #charge-category-grid .category-list-grid .add-category-btn {            width: 100%;            height: 44px;            text-align: center;            display: inline-block;        }            #charge-category-grid .category-list-grid .add-category-btn .add-category-text {                display: inline-block;                vertical-align: middle;                font-size: 16px;                line-height: 44px;                text-align: center;                color: #00a8cb;            }            #charge-category-grid .category-list-grid .add-category-btn .add-category-icon {                display: inline-block;                vertical-align: middle;                font-size: 24px;                width: 26px;                height: 26px;                border-radius: 26px;                line-height: 24px;                text-align: center;                color: #fff;                background-color: #00a8cb;            }    </style>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-8">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left">收费大类配置</h4>                        <div class="pull-right" ng-if="isChargeItemEditAllowed">                            <button class="btn btn-primary"                                    ng-click="moveItemUp()"                                    ares-hide-when-parent="ChargeItem">                                上移                            </button>                            <button class="btn btn-primary"                                    ng-click="moveItemDown()"                                    ares-hide-when-parent="ChargeItem">                                下移                            </button>                            <button class="btn btn-primary"                                    ng-click="addSuperCategoryItem()"                                    ares-hide-when-parent="ChargeItem">                                新建大类                            </button>                        </div>                    </div>                    <div class="panel-body">                        <div id="charge-category-grid" class="ares-data-table"></div>                    </div>                </div>            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/practice/views/charge/practice-charge-deduction-items-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        #membershipInfo .control-content {            padding-top: 0;            margin-left: -15px;        }        .k-grid td {            padding: 0;        }        .k-grid .btn {            padding: 1px 4px 1px 6px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">收费项目</h4>    </div>    <div class="modal-body ares-dialog-body">        <div id="chargeItemList" style="height:400px"></div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-deduction-plan-view.html','<div class="deduction-plan-wrap practice-charge-deduction-plan-view">    <style>        body.ares3 .practice-charge-deduction-plan-view {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }        .deduction-plan-wrap {        }            .deduction-plan-wrap .k-tooltip {                top: -8px;            }                .deduction-plan-wrap .k-tooltip .k-tooltip-content {                    font-size: 12px;                    padding: 0 4px;                }            .deduction-plan-wrap .icon-style {                font-size: 13px !important;                color: #666A73 !important;            }                .deduction-plan-wrap .icon-style:hover {                    color: #00A9C8 !important;                }            .deduction-plan-wrap .deduction-plan-list-wrap {                display: inline-block;                vertical-align: top;                width: 262px;                border: 1px solid #e3e3e3;                background-color: #f7f7f7;            }                .deduction-plan-wrap .deduction-plan-list-wrap .k-state-disabled input[type=\'text\'] {                    background-color: #ccc;                    cursor: not-allowed;                }                .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list-header {                    width: 100%;                    background-color: #e3e3e3;                    height: 40px;                    padding: 5px;                    font-size: 0;                }                    .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list-header label {                        display: inline-block;                        font-size: 16px;                        color: #666;                        vertical-align: middle;                        height: 30px;                        width: 200px;                        text-align: left;                        padding-left: 25px;                        margin: 0;                        line-height: 30px;                    }                    .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list-header .add-dedution-plan {                        display: inline-block;                        font-size: 14px;                        vertical-align: middle;                        width: 50px;                        height: 24px;                        color: #008aa8;                        border: 1px solid #008aa8;                        border-radius: 5px;                        background-color: #fff;                        cursor: pointer;                    }                .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list {                    width: 100%;                }                    .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list .deduction-plan-item {                        position: relative;                        padding: 5px;                        border-bottom: 1px solid #e3e3e3;                        min-height: 46px;                        display: table;                        background-color: #fff;                    }                    .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list .selected-plan-item::before {                        content: \'\';                        width: 5px;                        height: 47px;                        background: #008aa8;                        position: absolute;                        top: -1px;                        left: 0;                    }                    .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list .plan-item-title {                        display: table-cell;                        line-height: 20px;                        margin: 0;                        width: 190px;                        padding-left: 25px;                        vertical-align: middle;                    }                    .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list .selected-plan-item .plan-item-title {                        color: #008aa8;                    }                    .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list .plan-item-action {                        display: table-cell;                        padding-left: 10px;                        height: 20px;                        width: 80px;                        vertical-align: middle;                        font-size: 0;                    }                        .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list .plan-item-action a {                            display: none;                            font-size: 17px;                            width: 20px;                            height: 20px;                        }                    .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list .deduction-plan-item:hover {                        background-color: #ebfcff;                    }                        .deduction-plan-wrap .deduction-plan-list-wrap .deduction-plan-list .deduction-plan-item:hover .plan-item-action a {                            display: inline-block;                        }            .deduction-plan-wrap .deduction-plan-detail {                display: inline-block;                vertical-align: top;                max-width: 1100px;                width: calc(100% - 310px);                margin-left: 30px;            }                .deduction-plan-wrap .deduction-plan-detail .deduction-plan-detail-header {                    height: 40px;                    margin-bottom: 20px;                    display: table;                }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-detail-header label {                        display: table-cell;                        vertical-align: middle;                        margin: 0;                        font-size: 16px;                        line-height: 40px;                        width: 85px;                        font-weight: normal;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-detail-header p {                        display: table-cell;                        vertical-align: middle;                        margin: 0;                        font-size: 16px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-detail-header .deduction-name-input-wrap {                        display: inline-block;                        vertical-align: middle;                        height: 40px;                        padding: 3px 0;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-detail-header #deduction-name-input {                        width: 360px;                        max-width: 360px;                        box-sizing: border-box;                    }                .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table {                    width: 100%;                    border-top: 2px solid #00a6c9;                    border-bottom: 2px solid #00a6c9;                    margin-bottom: 20px;                }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table tr th {                        height: 34px;                        border-bottom: 1px solid #00a6c9;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table tr td {                        height: 44px;                        border-bottom: 1px solid #e3e3e3;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table tr:last-child td {                        border-bottom: none;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-index {                        width: 40px;                        text-align: center;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-name {                        text-align: center;                        width: 260px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-name-input {                        display: inline-block;                        vertical-align: middle;                        width: 200px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-price-scale {                        width: 100px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-followup-rule {                        width: 140px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-man-hours {                        width: 60px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .allow-multiple-times {                        width: 60px;                        text-align: center;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .default-step-times {                        width: 90px;                        text-align: center;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .is-allow-skip {                        width: 70px;                        text-align: center;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-ratio-input {                        display: inline-block;                        vertical-align: middle;                        width: 70px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-action {                        width: 60px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .big-check-box {                        width: 16px;                        height: 16px;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .step-action a {                        font-size: 18px;                        font-weight: 400;                        color: #999;                        background: #fff;                        border: 1px solid #ccc;                        border-radius: 5px;                        text-align: center;                        padding: 5px;                        margin: 0;                        cursor: pointer;                        display: inline-block;                    }                    .deduction-plan-wrap .deduction-plan-detail .deduction-plan-step-table .k-state-disabled input[type=\'text\'] {                        background-color: #ccc;                        cursor: not-allowed;                    }                .deduction-plan-wrap .deduction-plan-detail .deduction-plan-action {                    text-align: center;                    height: 40px;                }    </style>    <div class="deduction-plan-list-wrap">        <div class="deduction-plan-list-header">            <label>划扣方案</label>            <button class="add-dedution-plan" ng-if="isChargeItemEditAllowed"                     ng-click="createDedutionPlanspan()" ares-hide-when-parent="ChargeItem">新增</button>        </div>        <ul class="deduction-plan-list">            <li class="deduction-plan-item" ng-repeat="planItem in deductionPlanList"                ng-class="planItem.id==selectedDeductionPlan.id?\'selected-plan-item\':\'\'"                ng-click="selectDeductionPlan(planItem)">                <p class="plan-item-title">                    <span class="item-selected"></span>                    {{ planItem.planName }}                </p>                <div class="plan-item-action">                    <a class="plan-item-edit deduction-icon icon-style" ng-click="editDeductionPlan(planItem)"                       ng-if="isChargeItemEditAllowed"                       kendo-tooltip k-position="\'top\'" k-content="\'编辑\'"                       ares-hide-when-parent="ChargeItem">                        <span class="glyphicon glyphicon-edit"></span>                    </a>                    <a class="plan-item-delete deduction-icon icon-style" ng-click="deleteDeductionPlan(planItem)"                       ng-if="isChargeItemEditAllowed"                       kendo-tooltip k-position="\'top\'" k-content="\'删除\'"                       ares-hide-when-parent="ChargeItem">                        <span class="glyphicon glyphicon-trash"></span>                    </a>                    <a class="plan-item-delete deduction-icon icon-style" ng-click="queryDeductionPlan(planItem)"                       ng-if="isChargeItemEditAllowed"                       kendo-tooltip k-position="\'top\'" k-content="\'查看\'">                        <span class="glyphicon glyphicon-eye-open"></span>                    </a>                </div>            </li>        </ul>    </div>    <div class="deduction-plan-detail" ng-show="selectedDeductionPlan">        <div class="deduction-plan-detail-header">            <label for="deduction-name-input">方案名称：</label>            <p ng-hide="isEdit">{{ selectedDeductionPlan.planName }}</p>            <div ng-show="isEdit" class="deduction-name-input-wrap">                <input id="deduction-name-input" class="form-control"                       ng-model="selectedDeductionPlan.planName" type="text" maxlength="60" />            </div>        </div>        <table class="deduction-plan-step-table">            <tr>                <th class="step-index">步骤</th>                <th class="step-name">治疗步骤</th>                <th class="step-price-scale">划扣比例</th>                <th class="step-man-hours" ng-if="allowChargeDeductionManHours">默认工时</th>                <th class="allow-multiple-times">多次划扣</th>                <th class="default-step-times">默认划扣次数</th>                <th class="is-allow-skip">可跳过</th>                <th class="is-allow-skip">是否需审批</th>                <th class="is-allow-skip" ng-show="isShowAutoDeductionExecuteSwitchEnabled">自动执行</th>                <th class="step-followup-rule">关联随访规则</th>                <th class="step-action" ng-show="isEdit" ares-hide-when-parent="ChargeItem">操作</th>            </tr>            <tr ng-repeat="stepItem in selectedDeductionPlan.steps">                <td class="step-index">{{ stepItem.stepIndex }}</td>                <td class="step-name">                    <div class="step-name-input" ng-show="isEdit">                        <input class="form-control" type="text"                               ng-model="stepItem.stepName" maxlength="60"                               ares-disable-when-parent="ChargeItem" />                    </div>                    <span ng-hide="isEdit">{{ stepItem.stepName }}</span>                </td>                <td class="step-price-scale">                    <div class="step-ratio-input" ng-show="isEdit">                        <input kendo-numeric-text-box k-min="0" k-max="100" k-spinners="false"                               type="text" style="width:70px;"                               ng-model="stepItem.stepRatio"                               ares-disable-when-parent="ChargeItem" />                    </div>                    <span ng-hide="isEdit">{{ stepItem.stepRatio }}</span>                    %                </td>                <td ng-if="allowChargeDeductionManHours" class="step-man-hours">                    <div ng-show="isEdit" style="">                        <input kendo-numeric-text-box k-spinners="false"                               k-ng-model="stepItem.manHourCount" k-options="{format: \'#\', decimals:0}"                               style="width: 60px;"                               ares-disable-when-parent="ChargeItem" />                    </div>                    <span ng-hide="isEdit">{{ stepItem.manHourCount }}</span>                </td>                <td class="allow-multiple-times">                    <div ng-show="isEdit">                        <input class="big-check-box" type="checkbox"                               ng-model="stepItem.isRepeatable"                               ng-click="onIsRepeatableClick(stepItem)"                               ares-disable-when-parent="ChargeItem" />                    </div>                    <span ng-hide="isEdit">{{ stepItem.isRepeatable? \'是\':\'否\' }}</span>                </td>                <td class="default-step-times">                    <div ng-show="isEdit">                        <input type="text" kendo-numeric-text-box                               k-spinners="false" ng-model="stepItem.defaultRepeatCount"                               k-options="{format: \'#\', decimals:0}"                               k-ng-disabled="!stepItem.isRepeatable"                               style="width:70px;"                               ares-disable-when-parent="ChargeItem" />                    </div>                    <span ng-hide="isEdit || !stepItem.isRepeatable ">{{ stepItem.defaultRepeatCount }}</span>                </td>                <td class="is-allow-skip">                    <div ng-show="isEdit">                        <input class="big-check-box" type="checkbox"                               ng-model="stepItem.isAllowSkip"                               ng-click="onIsAllowSkipClick(stepItem)"                               ares-disable-when-parent="ChargeItem" />                    </div>                    <span ng-hide="isEdit">{{ stepItem.isAllowSkip? \'是\':\'否\' }}</span>                </td>                <td class="is-allow-skip">                    <div ng-show="isEdit">                        <input class="big-check-box" type="checkbox" ng-model="stepItem.isNeedApprove"                               ares-disable-when-parent="ChargeItem" />                    </div>                    <span ng-hide="isEdit">{{ stepItem.isNeedApprove? \'是\':\'否\' }}</span>                </td>                <td class="is-allow-skip" ng-show="isShowAutoDeductionExecuteSwitchEnabled">                    <div ng-show="isEdit">                        <input class="big-check-box" type="checkbox" ng-model="stepItem.isAutoExecute"                               ng-click="onIsAutoExecuteClick(stepItem)"                               ares-disable-when-parent="ChargeItem" />                    </div>                    <span ng-hide="isEdit">{{ stepItem.isAutoExecute? \'是\':\'否\' }}</span>                </td>                <td class="step-followup-rule">                    <div ng-show="isEdit">                        <input type="text" kendo-drop-down-list                               ng-model="stepItem.followupRuleId"                               k-data-source="followupRuleLites"                               k-data-text-field="\'name\'"                               k-data-value-field="\'id\'"                               k-filter="\'contains\'"                               style="width:140px;" />                    </div>                    <span ng-hide="isEdit">{{ getFollowupRuleTitle(stepItem) }}</span>                </td>                <td class="step-action" ng-show="isEdit" ares-hide-when-parent="ChargeItem">                    <a class="add-step-item glyphicon glyphicon-plus"                       ng-click="addDeductionPlanStep()" ng-show="$index==0"></a>                    <a class="remove-step-item glyphicon glyphicon-minus"                       ng-click="removeDedutionPlanStep($index)" ng-hide="$index==0"></a>                </td>            </tr>        </table>        <div class="deduction-plan-action" ng-if="isChargeItemEditAllowed">            <button class="btn btn-default ares-btn-blue"                    ng-hide="isEdit" ng-click="editDeductionPlan()">                编辑            </button>            <button class="btn btn-default ares-btn-blue"                    ng-show="isEdit" ng-click="saveDeductionPlan()">                保存            </button>            <button class="btn btn-default"                    ng-show="isEdit" ng-click="cleanDeductionPlan()">                取消            </button>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-home-view.html','<ares-tab states="states" root-state="setting.charge" class="ares-tab-ensure-height"></ares-tab>');templateCache.put('/app/practice/views/charge/practice-charge-item-favorite-edit-view.html','<div class="charge-item-favorite-edit-wrap enyo">    <style>        .charge-item-favorite-edit-wrap .form-group .control-label {            line-height: 34px;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">创建常用类目</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" style="height:150px;padding:15px;">            <form name="ruleSettingForm" id="ruleSettingForm" novalidate class="form-horizontal" style="margin-left:30px">                <div class="form-group">                    <label class="col-sm-2 control-label" style="text-align: left;padding:0;">所属类目:</label>                    <label class="col-sm-10 control-label " style="text-align: left;padding:0;">                        {{ parentCategory.name }}                    </label>                </div>                <div class="form-group">                    <label class="col-sm-2 control-label" style="text-align: left;padding:0;">                        类目名称:                        <span style="color:red">*</span>                    </label>                    <div class="col-sm-10 input-container">                        <input type="text" name="subType" placeholder="请输入类目名称"                               class="form-control" ng-model="category.name">                    </div>                </div>            </form>        </div>        <div class="enyo-modal-footer" style="padding:10px;">            <button class="btn btn-primary" ng-click="save()">保存</button>            <button class="btn btn-default" ng-click="cancel()">取消</button>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-item-favorite-view.html','<div class="charge-item-favorite-wrap enyo">    <style>        .charge-item-favorite-wrap .category-tree-wrap .ng-isolate-scope > .tree-classic {            margin-left: -30px;        }        .charge-item-favorite-wrap .ares-tree-control.tree-classic .tree-hover-btn {            right: 0px;        }            .charge-item-favorite-wrap .ares-tree-control.tree-classic .tree-hover-btn.visible {                background-color: #fff;            }        .charge-item-favorite-wrap .ares-tree-control.tree-classic li.tree-collapsed .tree-selected,        .charge-item-favorite-wrap .ares-tree-control.tree-classic li.tree-expanded .tree-selected,        .charge-item-favorite-wrap .ares-tree-control.tree-classic li.tree-empty-folder .tree-selected {            background-color: #00A8CB;            color: #fff;        }        .charge-item-favorite-wrap .enyo-basic-table tr {            height: 44px;        }        .charge-item-favorite-wrap .ares-tree-control.tree-classic li {            font-size: 15px;        }    </style>    <div class="ares-page-content">        <div class="col-md-3 show-grid" style="height: 540px">            <div class="show-grid-body">                <div class="panel-default">                    <div class="category-tree-wrap" style="padding: 5px 10px;font-size: 15px;">                        <ares-tree-control tree-model="treeData"                                           filter-expression="predicate"                                           selected-node="selectedNode"                                           on-selection="onSelecteTree(node)"                                           on-operation="onOperationTree(node,type)"                                           options="treeOpts"                                           expanded-nodes="expandedNodes"                                           filter-comparator="comparator">                            {{node.name}}                        </ares-tree-control>                    </div>                </div>            </div>        </div>        <div class="col-xs-9">            <div class="panel panel-primary" style="box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.08);height:540px;">                <div>                    <h3 style="display: inline-block;margin: 5px 15px 15px;">收费项目</h3>                    <a ng-click="addChargeItemFavorites()" style="font-size: 16px;" ng-show="hasSelected">                        <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>                        <span>添加收费项目</span>                    </a>                </div>                <div ng-show="hasSelected">                    <table class="enyo-table-header-primary">                        <tr>                            <th style="width:15%;">编号</th>                            <th style="width:45%;">名称</th>                            <th style="width:10%;">单位</th>                            <th style="width:15%;">价格</th>                            <th style="width:15%;">操作</th>                        </tr>                    </table>                    <div class="table-body" style="height: 500px;">                        <table class="enyo-basic-table enyo-border" style="width:100%;">                            <tr ng-repeat=" chargeItemFavorite in curChargeItemFavorites">                                <td style="width:15%;">{{ chargeItemFavorite.chargeItem.itemCode }}</td>                                <td style="width:45%;">{{ chargeItemFavorite.chargeItem.itemName }}</td>                                <td style="width:10%;">{{ chargeItemFavorite.chargeItem.unit }}</td>                                <td style="width:15%;">{{ chargeItemFavorite.chargeItem.price }}</td>                                <td style="width:15%;">                                    <a ng-click="deleteChargeItemFavorite(chargeItemFavorite.id)"> 删除 </a>                                </td>                            </tr>                        </table>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-item-free-field-view.html','<div class="charge-item-free-field-wrapper">    <style scoped>        .charge-item-free-field-wrapper .data-panel {            background: #f5f6f8;            height: 550px;        }        .charge-item-free-field-wrapper .data-panel-header {            height: 50px;            width: 100%;            padding: 15px 20px;        }        .charge-item-free-field-wrapper .data-panel-title {            font-size: 18px;            color: #575d6a;            float: left;        }            .charge-item-free-field-wrapper .data-panel-title:before {                content: \' \';                display: inline-block;                height: 20px;                width: 6px;                background: #00a6c9;                border-radius: 2px;                top: 4px;                position: relative;                margin-right: 8px;            }        .charge-item-free-field-wrapper .data-panel-header-btns {            float: right;            user-select: none;            -moz-user-select: none;            -webkit-user-select: none;        }        .charge-item-free-field-wrapper .data-panel-header-btn {            border: 0;            background: none;            padding: 0 2px;            color: #9397A2;        }            .charge-item-free-field-wrapper .data-panel-header-btn:not([disabled]):hover {                color: #00A6C9;            }        .charge-item-free-field-wrapper .list-item {            color: #575d6a;            height: 26px;            line-height: 26px;            padding: 0 10px;            cursor: pointer;            margin: 10px;            overflow: hidden;            white-space: nowrap;            text-overflow: ellipsis;            position: relative;            background: none;            border-radius: 13px;        }            .charge-item-free-field-wrapper .list-item.active {                background: #00A6C9;                color: #fff;                padding-right: 30px;            }            .charge-item-free-field-wrapper .list-item:not(.list-input-group):not(.active):hover {                background: #D6D9DF;            }        .charge-item-free-field-wrapper .list-input-group {            background: #fff;            display: none;        }            .charge-item-free-field-wrapper .list-input-group.focused {                border: 1px solid #00A6C9;            }        .charge-item-free-field-wrapper .list-input-btn {            background: #fff;            position: absolute;            right: 10px;            color: #00A6C9;        }        .charge-item-free-field-wrapper .list-input-group.warning {            border: 1px solid #FF4949;        }            .charge-item-free-field-wrapper .list-input-group.warning input::placeholder {                color: #FF4949;            }            .charge-item-free-field-wrapper .list-input-group.warning .list-input-btn {                color: #FF4949;            }        .charge-item-free-field-wrapper .list-input-group-input {            border: 0;            height: 22px;            max-width: unset;            width: calc(100% - 20px);        }        .charge-item-free-field-wrapper .list-new-btn {            background: #F5F6F8;            border: 1px solid #D6D9DF;            text-align: center;            color: #9397A2;        }            .charge-item-free-field-wrapper .list-new-btn:hover {                background: #fff !important;            }            .charge-item-free-field-wrapper .list-new-btn.disabled {                cursor: default;            }                .charge-item-free-field-wrapper .list-new-btn.disabled:hover {                    background: #F5F6F8;                }    </style>    <div ng-repeat="freeField in freeFields" class="column-wrapper" ng-class="freeFields.length === 2 ? \'col-md-6\' : \'col-md-4\'"         style="padding-left: 0; padding-right: 10px; margin-bottom: 10px;">        <div class="data-panel" data-type="{{freeField.abbr}}">            <div class="data-panel-header">                <div class="data-panel-title">{{freeField.itemValue}}</div>                <div class="data-panel-header-btns" ng-show="selectedItem[freeField.abbr]" ng-if="chargeItemAboutEnabled && isChargeItemEditAllowed">                    <button class="data-panel-header-btn" data-toggle="tooltip" title="上移"                            ng-disabled="!movableStatus[freeField.abbr].up"                            ng-click="move(freeField.abbr, \'up\')">                        <i class="iconfont icon-xiangshang"></i>                    </button>                    <button class="data-panel-header-btn" data-toggle="tooltip" title="下移"                            ng-disabled="!movableStatus[freeField.abbr].down"                            ng-click="move(freeField.abbr, \'down\')">                        <i class="iconfont icon-zhankaixiangxia"></i>                    </button>                    <button class="data-panel-header-btn" data-toggle="tooltip" title="编辑" ng-click="editItem(freeField.abbr)">                        <i class="iconfont icon-bianji"></i>                    </button>                    <button class="data-panel-header-btn" data-toggle="tooltip" title="删除" ng-click="deleteItem(freeField.abbr)">                        <i class="iconfont icon-shanchu"></i>                    </button>                </div>            </div>            <div class="data-panel-body">                <ul>                    <li ng-repeat="item in freeFieldDicts[freeField.abbr]" class="list-item"                        ng-class="{\'active\': selectedItem[freeField.abbr].id === item.id}"                        ng-click="onListItemSelected(freeField.abbr, item)">                        {{item.itemName}}                    </li>                </ul>            </div>            <div class="data-panel-footer" ng-if="chargeItemAboutEnabled && isChargeItemEditAllowed">                <ul>                    <li class="list-item list-input-group">                        <input type="text" class="list-input-group-input" ng-model="newItemName[freeField.abbr]">                        <span class="list-input-btn" ng-click="onSaveNewItem(freeField.abbr, $event)">                            <i class="iconfont icon-queren"></i>                        </span>                    </li>                    <li class="list-item list-new-btn" ng-click="onNewBtnClick(freeField.abbr, $event)">                        新建                    </li>                </ul>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-lc-pay-gateway-view.html','<div class="charge-lc-pay-gateway-settting-wrap">    <style scoped>        #mli_pc iframe {            border: 0;            display: block;            width: 100%;            height: 100%;        }    </style>    <div id="charge-lc-pay-gateway-settting" style="border: 0;display: block;width:100%;height:100%;">    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-package-category-edit-view.html','<div class="charge-package-category-wrap" ares-modal-dragable ares-clean-kendo>    <style>        .charge-package-category-wrap .form-group .control-label {            line-height: 34px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">创建类目</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="ruleSettingForm" id="ruleSettingForm" novalidate class="form-horizontal" style="margin-left:30px">            <div class="form-group">                <label class="col-sm-2 control-label" style="text-align: left;padding:0;">                    类目名称:                    <span style="color:red">*</span>                </label>                <div class="col-sm-10 input-container">                    <input type="text" name="subType" placeholder="请输入类目名称"                           class="form-control" ng-model="category.name">                </div>            </div>            <div class="form-group">                <label class="col-sm-2 control-label" style="text-align: left;padding:0;">英文名称:</label>                <div class="col-sm-10 input-container">                    <input type="text" name="subType" placeholder="请输入英文名称"                           class="form-control" ng-model="category.englishName">                </div>            </div>            <div class="form-group">                <label class="col-sm-2 control-label" style="text-align: left;padding:0;">编码:</label>                <div class="col-sm-10 input-container">                    <input type="text" name="subType" placeholder="请输入编码"                           class="form-control" ng-model="category.code">                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="lc-btn lc-btn-primary" ng-click="save()">保存</button>        <button class="lc-btn lc-btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-package-category-move-view.html','<div class="charge-package-move-wrap-content" ares-clean-kendo>    <style scoped>        .charge-package-move-wrap .modal-dialog {            width: 400px;        }        .charge-package-move-wrap .emr-item-dialog ul, .charge-package-move-wrap .emr-item-dialog li {            list-style-type: none;        }        .charge-package-move-wrap .emr-item-header {            position: absolute;            right: 0;            top: 0;            cursor: pointer;        }            .charge-package-move-wrap .emr-item-header button {                border: none;                background: #fff;                font-size: 20px;            }        .charge-package-move-wrap .left-sub-type {            max-height: 300px;            overflow-y: auto;        }        .charge-package-move-wrap .sub-type-items {            margin-left: 20px;        }        .charge-package-move-wrap .modal-body-template > .row {            margin: 0;        }        .charge-package-move-wrap .modal-body-template > .template-select {            width: 300px;            margin: 10px auto 0 0;        }        .charge-package-move-wrap .modal-body-template .row > [class^="col-"] {            padding: 0 !important;            margin-top: 5px;        }        .charge-package-move-wrap .sub-type-items .sub-type-items-ul {            margin-bottom: 5px;        }            .charge-package-move-wrap .sub-type-items .sub-type-items-ul > li > ul {                border-left: 2px solid #BEE9F2;                margin-left: -1px;            }                .charge-package-move-wrap .sub-type-items .sub-type-items-ul > li > ul > li:last-child {                    margin-left: -2px;                    background-color: #fff;                }                    .charge-package-move-wrap .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .left-dot {                        border-left: 2px solid #BEE9F2;                    }                    .charge-package-move-wrap .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .sub-type-items-ul {                        margin-left: 22px;                    }        .charge-package-move-wrap .sub-type-items .sub-type-items-ul-third {            margin-left: 20px;            margin-top: 6px;            margin-bottom: 0;        }            .charge-package-move-wrap .sub-type-items .sub-type-items-ul-third > li:first-child {                margin-top: -5px;            }        .charge-package-move-wrap .sub-type-items li.sub-template {            height: 22px;        }        .charge-package-move-wrap .sub-type-items-ul li {            position: relative;        }            .charge-package-move-wrap .sub-type-items-ul li .not-sub:first-child {                margin-top: 0;            }        .charge-package-move-wrap .sub-type-items-ul .left-dot {            width: 10px;            color: #BEE9F2;            display: inline-block;            border-bottom: 1px solid #3eccea;            margin-right: 6px;            float: left;            padding-top: 10px;            height: 6px;        }        .charge-package-move-wrap .sub-type-items-ul .text {            position: absolute;            top: 5px;            display: inline-block;            width: 80%;            font-size: 13px;            cursor: pointer;            height: 13px;        }            .charge-package-move-wrap .sub-type-items-ul .text .text-name {                width: 100%;                display: inline-block;                overflow: hidden;                text-overflow: ellipsis;                white-space: nowrap;                color: #696D76;            }                .charge-package-move-wrap .sub-type-items-ul .text .text-name i.leaf {                    margin-right: 3px;                    padding: 1px 8px;                    line-height: 20px;                    background: url(/Content/imgs/file.png) no-repeat;                }                .charge-package-move-wrap .sub-type-items-main > span:hover, .charge-package-move-wrap .sub-type-items-main > span.active, .charge-package-move-wrap .sub-type-items-ul .text .text-name:hover, .charge-package-move-wrap .sub-type-items-ul .text .text-name.active {                    color: #00A8CB;                }            .charge-package-move-wrap .sub-type-items-ul .text .text-operation {                float: right;            }                .charge-package-move-wrap .sub-type-items-ul .text .text-operation i {                    background: #e0e0e0;                    border-radius: 3px;                    margin-right: 10px;                    padding: 1px 2px;                    font-size: 12px;                }                    .charge-package-move-wrap .sub-type-items-ul .text .text-operation i:hover {                        background: #b0b0b0;                    }        .charge-package-move-wrap .sub-type-items-main i {            color: #00A8CB;            font-size: 18px;            display: inline-block;            margin-left: -8px;            margin-right: 4px;            cursor: pointer;            background: #fff;        }            .charge-package-move-wrap .sub-type-items-main i.folder {                font-size: 16px;                margin-right: 0;            }        .charge-package-move-wrap .sub-type-items-main span {            font-size: 13px;            color: #696D76;            cursor: pointer;        }        .charge-package-move-wrap ::-webkit-scrollbar {            width: 3px;            height: 3px;            background-color: #f5f5f5;        }        .charge-package-move-wrap ::-webkit-scrollbar-track {            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);            border-radius: 10px;            background-color: #f5f5f5;        }        .charge-package-move-wrap ::-webkit-scrollbar-thumb {            border-radius: 10px;            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);            background-color: #ccc;        }        .charge-package-move-wrap .location-current-ul li {            float: left;        }            .charge-package-move-wrap .location-current-ul li.location {                color: #afafaf;                margin-left: 3px;            }                .charge-package-move-wrap .location-current-ul li.location i {                    font-family: "Arial";                }                .charge-package-move-wrap .location-current-ul li.location:last-child i {                    display: none;                }        .charge-package-move-wrap .btn-primary {            background-color: #00a6c9;            border-color: #00a6c9;        }            .charge-package-move-wrap .btn-primary:hover {                background-color: #0097b5;                border-color: #0097b5;            }        .charge-package-move-wrap .k-dropdown-wrap.k-state-default, .k-dropdown-wrap.k-state-hover {            background-color: #fff;            border-color: #e3e3e3;        }        .charge-package-move-wrap .k-dropdown-wrap.k-state-active.k-state-border-down {            box-shadow: none;        }    </style>    <div class="emr-item-dialog">        <div class="modal-body">            <div class="emr-item-header">                <button type="button" class="iconfont icon-quxiaotuichu" ng-click="cancel()" aria-label="Close"></button>            </div>            <div class="modal-body-template" style="width: 400px;margin:0 auto;">                <div class="row">                    <div class="col-sm-12">                        <ul class="clearfix location-current-ul">                            <li>当前位置：</li>                            <li class="location" ng-repeat="item in categoryNames">{{item}} <i class="">></i> </li>                        </ul>                    </div>                </div>                <div class="row template-select" style="border: 1px solid #e3e3e3;padding: 10px;">                    <div class="col-sm-12 left-sub-type">                        <ares-tree-control tree-model="treeData"                                           filter-expression="predicate"                                           selected-node="selectedNode"                                           on-branch-selected="getContent(node)"                                           options="treeOpts"                                           expanded-nodes="expandedNodes"                                           filter-comparator="comparator">                            {{node.name}}                        </ares-tree-control>                    </div>                </div>                <div class="row template-select">                    <div class="col-sm-12">                        <button type="button" class="btn btn-primary" ng-click="sureMovePackage()">移动</button>                        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-package-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header" ng-show="isDialog">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div ng-class="isDialog?\'modal-body ares-dialog-body\':\'view-body\'" style="border-left:0;border-right:0;" ">        <form style="margin-left:15px" class="form-horizontal" name="practiceForm" id="practiceForm">            <div class="form-group">                <label class="col-sm-3 control-label">组合名称:</label>                <div class="col-sm-8 input-container">                    <input class="form-control"                           ng-disabled="!isChargeItemEditAllowed"                           ng-model="chargePackage.name"                           style="max-width: 120px;"                           ares-disable-when-parent="ChargeItem" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label">收费代码:</label>                <div class="col-sm-8 input-container">                    <input class="form-control"                           ng-disabled="!isChargeItemEditAllowed"                           ng-model="chargePackage.code"                           style="max-width: 120px;"                           ares-disable-when-parent="ChargeItem">                </div>            </div>            <div class="form-group" style="margin-right:0;">                <label class="col-sm-3 control-label">总价:{{chargePackage.totalPrice}}元</label>                <div class="col-sm-8 input-container">                    <div class="pull-right">                        <button class="btn btn-default" ng-click="addChargeItem()"                                 ng-if="isChargeItemEditAllowed"                                ares-hide-when-parent="ChargeItem">                            <span class="glyphicon glyphicon-plus"></span> 添加收费项目                        </button>                    </div>                </div>            </div>            <div class="form-group" style="margin-right:0;height: 350px;overflow: auto;font-size: 13px;">                <table class="table table-striped table-bordered" style="margin-bottom:0;">                    <thead>                        <tr>                            <th class="text-left">项目名称</th>                            <th class="text-left">单位</th>                            <th class="text-left">单价</th>                            <th class="text-left">数量</th>                            <th class="text-left">金额</th>                            <th class="text-left" ares-hide-when-parent="ChargeItem" ng-if="isChargeItemEditAllowed">操作</th>                        </tr>                    </thead>                    <tbody>                        <tr ng-repeat="item in chargePackage.chargeItemList">                            <td>{{item.itemName}}</td>                            <td>{{item.unit}}</td>                            <td>                                <input style="max-width: 120px;"                                       ng-disabled="!isChargeItemEditAllowed"                                       kendo-numeric-text-box k-min="0"                                       k-on-change="onItemPriceChange(kendoEvent,$index)"                                       k-max="99999999" k-step="1"                                       k-options="{format: \'n2\'}"                                       k-ng-model="item.price"                                       ares-disable-when-parent="ChargeItem" />                            </td>                            <td>                                <input style="max-width: 120px;"                                       ng-disabled="!isChargeItemEditAllowed"                                       kendo-numeric-text-box k-min="1"                                       k-on-change="onItemCountChange(kendoEvent,$index)"                                       k-max="10000" k-step="1"                                       k-options="{format: \'#.##\'}"                                       k-ng-model="item.count"                                       ares-disable-when-parent="ChargeItem" />                            </td>                            <td>{{fixPrice(item.price*item.count)}}</td>                            <td ares-hide-when-parent="ChargeItem" ng-if="isChargeItemEditAllowed">                                <button type="button" class="btn btn-default" ng-click="deleteChargeItem($index)">                                    <span class="glyphicon glyphicon-trash"></span> 删除                                </button>                            </td>                        </tr>                    </tbody>                </table>            </div>        </form>    </div>    <div ng-class="isDialog?\'modal-footer ares-dialog-footer\':\'view-footer\'" style="border-left:0;border-right:0;" ng-if="isChargeItemEditAllowed">        <button class="lc-btn lc-btn-default" ng-click="close()" ng-if="isDialog">取消</button>        <button class="lc-btn lc-btn-primary" ng-click="saveCheck()" ares-hide-when-parent="ChargeItem">保存</button>        <button class="lc-btn lc-btn-primary" ng-click="moveMethod(chargePackage)"                ares-hide-when-parent="ChargeItem" ng-show="!isDialog && moveMethod">            移动        </button>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-package-view.html','<div class="ares-main-content charge-package-browser-wrap" ares-clean-kendo>    <style>        .charge-package-browser-wrap .package-tree-wrap .ng-isolate-scope > .tree-classic {            margin-left: -30px;        }        .charge-package-browser-wrap .ares-tree-control.tree-classic .tree-hover-btn {            right: 0px;        }            .charge-package-browser-wrap .ares-tree-control.tree-classic .tree-hover-btn.visible {                background-color: #fff;            }    </style>    <div class="ares-page-content">        <div class="col-md-3 show-grid" style="height: 540px">            <div class="show-grid-body">                <div class="panel-default">                    <div class="package-tree-wrap">                        <ares-tree-control tree-model="treeData"                                           filter-expression="predicate"                                           selected-node="selectedNode"                                           on-selection="onSelecteTree(node)"                                           on-operation="onOperationTree(node,type)"                                           options="treeOpts"                                           expanded-nodes="expandedNodes"                                           filter-comparator="comparator">                            {{node.name}}                        </ares-tree-control>                    </div>                </div>            </div>        </div>        <div class="col-xs-9">            <div class="panel panel-primary" style="box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.08);height:540px;">                <div ng-show="hasSelected">                    <practice-charge-package-edit-view charge-package=\'selectedChagePackage\'                                                       display-order=\'chargePackageList.length\'                                                       charge-packages=\'chargePackageList\'                                                       is-dialog="isDialog"                                                       move-method="moveChargePackage"></practice-charge-package-edit-view>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-charge-super-category-edit-view.html','<div id="charge-category-edit-modal-wrap" ares-clean-kendo class="enyo">    <style scoped>        #charge-category-edit-modal-wrap .column-title {            width: 30%;            float: left;            font-size: 14px;            color: #575d6a;            letter-spacing: 0;            line-height: 33px;            font-weight: normal;            text-align: right;        }        #charge-category-edit-modal-wrap .column-context {            font-size: 14px;            color: #3d3d3d;            letter-spacing: 0;            line-height: 14px;            width: 100%;            height: 100%;            font-weight: normal;        }        #charge-category-edit-modal-wrap .config-on {            background: transparent url(/Content/imgs/config-on-off.png) no-repeat 0 0;            width: 40px;            background-size: cover;            margin-top: 5px;            height: 18px;            border: none;        }            #charge-category-edit-modal-wrap .config-on:hover {                cursor: pointer;            }        #charge-category-edit-modal-wrap .config-off {            background: transparent url(/Content/imgs/config-on-off.png) no-repeat -40px 0;            width: 40px;            background-size: cover;            margin-top: 5px;            height: 18px;            border: none;        }            #charge-category-edit-modal-wrap .config-off:hover {                cursor: pointer;            }        #charge-category-edit-modal-wrap .column-context-contianer {            height: 32px;            overflow: hidden;            width: 300px;            margin: 0;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{isEdit? \'编辑\':\'新建\'}}收费大类</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" ng-style="{\'height\':showOrganizations? \'190px\':\'130px\'}">            <div class="form-group" style="margin-top:15px;" ng-if="showOrganizations">                <label class="column-title control-label">可用机构：</label>                <div class="column-context-contianer">                    <ares-multi-select id="org" data-placeholder="请选择机构" tag="机构"                                       ng-model="selectedOrgs"                                       text-field="name" value-field="id"                                       multi-source="organizations"                                       select-height="430"                                       on-select="onOrganizationSelected(selectedIds)"                                       search-choice="" soure-url="" style="width: 280px;"></ares-multi-select>                </div>            </div>            <div class="form-group" style="margin-top: 15px;">                <label class="column-title control-label">大类名称：</label>                <div class="column-context-contianer">                    <input type="text" id="category-name-input" class="column-context form-control"                           ng-model="superCategory.itemName"                           ares-disable-when-parent="ChargeItem">                </div>            </div>            <div class="form-group" style="margin-top: 15px;">                <label class="column-title control-label">大类英文名称：</label>                <div class="column-context-contianer">                    <input type="text" id="category-english-name-input" class="column-context form-control"                           ng-model="superCategory.itemEnglishName"                           ares-disable-when-parent="ChargeItem">                </div>            </div>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="close()">关闭</span>            <button class="btn btn-primary last-field" ng-click="onSave()">保存</button>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-chargeItem-browser-view.html','<div class="ares-main-content" ares-clean-kendo>    <!--<h1 class="ares-page-header">收费项目浏览</h1>-->    <style>        #charge-item-edit-wrap .super-category-wrap {            padding: 0px 20px;            margin: 5px 0 5px 0;        }        #charge-item-edit-wrap .charge-item-module-switch {             padding: 5px 15px;         }        #charge-item-edit-wrap .panel-default {            margin-bottom: 10px;        }    </style>    <div class="ares-page-content" id="charge-item-edit-wrap">        <div class="table-responsive row">            <div class="col-md-2">                <div class="panel panel-default">                    <div class="panel-heading" style="height:55px;padding-right:5px;padding-left:5px">                        <h4 class="panel-title pull-left">收费项目分类</h4>                    </div>                    <div class="panel-body treeviewContainer" style="padding:0">                        <div class="charge-item-module-switch" ng-show="isProductSaleEnabled" >                            <input type="checkbox" id="common-item-check" ng-model="hasCommonItem"                                   ng-click="selectChargeItemModule()"/>                            <label for="common-item-check" style="margin: 0;">诊疗服务</label>                            <input type="checkbox" id="sale-item-check" ng-model="hasSaleItem"                                   style="margin-left: 2px"                                   ng-click="selectChargeItemModule()"/>                            <label for="sale-item-check" style="margin: 0;">商品销售</label>                        </div>                        <div class="super-category-wrap">                            <input type="text" id="super-category-drop-down-list" style="width:100%">                        </div>                        <div kendo-tree-view="tree"                             k-data-source="currentSelectCategoryTreeData"                             k-on-change="onChangeCurrentCatagory(dataItem)"                             style="overflow-y: auto; width: 100%;"                             id="select-super-category-tree">                            <span k-template>                                {{dataItem.itemName}}                            </span>                        </div>                    </div>                </div>            </div>            <div class="col-md-10" ng-hide="isAllCharge">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left">{{currentChargeItemCatagory.itemName}}收费项目</h4>                        <div class="pull-left" style="margin-right:5px">                            <button class="btn btn-default" ng-disabled="isAllCharge"                                    ng-click="onShowAllChargeItems()">                                全部项目                            </button>                        </div>                        <div class="pull-left input-group" style="width:100px; position:relative; margin-right:5px"                             ng-show="isGridInit">                            <select id="status-drop" kendo-drop-down-list                                    k-on-change="onChangeStatus()"                                    ng-model="status"                                    style="width:100px;">                                <option value="全部">全部</option>                                <option value="启用" selected="selected">启用</option>                                <option value="停用">停用</option>                            </select>                        </div>                        <div class="pull-left input-group" style="width:300px; position:relative" ng-show="isGridInit">                            <i class="glyphicon glyphicon-search"                               style="position: absolute;left: 0;z-index:5;margin:8px 8px"></i>                            <input id="category-charge-item" type="text"                                   style="padding-left:28px; border-radius: 5px;"                                   class="searchTerm search-default form-control"                                   placeholder="请输入项目首字母/名称"                                   ng-keyup="onSearchChargeItems($event)"                                   ng-model="searchKeyWord" />                        </div>                        <div class="pull-right" ng-show="currentCategoryItem">                            <button class="btn btn-primary"                                     ng-show="isShowChangeCategoryButton()"                                    ng-click="onChangeCategoryByCurrentCategoryChargeItems()"                                    ares-hide-when-parent="ChargeItem">                                更换小类                            </button>                            <button class="btn btn-primary" ng-show="canChargeItemsUp() && isChargeItemEditAllowed"                                    ng-click="onCurrentCategoryChargeItemsUp()" ares-hide-when-parent="ChargeItem">                                上移                            </button>                            <button class="btn btn-primary" ng-show="canChargeItemsDown() && isChargeItemEditAllowed"                                    ng-click="onCurrentCategoryChargeItemsDown()" ares-hide-when-parent="ChargeItem">                                下移                            </button>                            <button class="btn btn-primary" ng-click="openEditChargeItemDialog()"                                    ng-if="isShowCreateChargeItemButton()"                                    ares-hide-when-parent="ChargeItem">                                新增项目                            </button>                            <button class="btn btn-default" ng-click="onExportCurrentCategoryChargeItemsExcel()"                                    ng-if="isChargeItemEditAllowed"                                    ares-hide-when-parent="ChargeItem">                                导出excel                            </button>                        </div>                    </div>                    <div class="panel-body" style="padding-top:10px">                        <div id="current-catagory-charge-items-table" class="ares-data-table">                        </div>                    </div>                </div>            </div>            <div class="col-md-10" ng-show="isAllCharge">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left">全部项目</h4>                        <div class="pull-left" style="margin-right:5px">                            <button class="btn btn-default" ng-disabled="isAllCharge"                                    ng-click="onShowAllChargeItems()">                                全部项目                            </button>                        </div>                        <div class="pull-left input-group" style="width:100px; position:relative; margin-right:5px"                             ng-show="isGridInit">                            <select id="status-drop" kendo-drop-down-list                                    k-on-change="onChangeStatus()"                                    ng-model="status"                                    style="width:100px;">                                <option value="全部">全部</option>                                <option value="启用" selected="selected">启用</option>                                <option value="停用">停用</option>                            </select>                        </div>                        <div class="pull-left input-group" style="width:300px; position:relative" ng-show="isGridInit">                            <i class="glyphicon glyphicon-search"                               style="position: absolute;left: 0;z-index:5;margin:8px 8px"></i>                            <input id="all-charge-item" type="text"                                   style="padding-left:28px; border-radius: 5px;"                                   class="searchTerm search-default form-control"                                   placeholder="请输入项目首字母/名称"                                   ng-keyup="onSearchChargeItems($event)"                                   ng-model="searchKeyWord" />                        </div>                        <div class="pull-right">                            <button class="btn btn-default" ng-click="onExportAllChargeItemsExcel()"                                    ng-if="isChargeItemEditAllowed"                                    ares-hide-when-parent="ChargeItem">                                导出excel                            </button>                        </div>                    </div>                    <div class="panel-body" style="padding-top:10px">                        <div id="all-charge-items-table" class="ares-data-table">                        </div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/charge/practice-chargeItem-category-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">更换小类</h4>    </div>    <div class="modal-body ares-dialog-body">        <p class="selected-charge-item-info">            你已从 <strong>{{ oldCategoryItemName }}</strong> 选择            <span>{{ selectedChargeItemLength }}</span>个收费项目，将移至        </p>        <div class="select-category-item">            <input style="width:300px;max-width:300px;" ng-model="newCategoryItemId"                   kendo-drop-down-list k-data-source="canSelectCategoryItems"                   k-data-text-field="\'itemName\'" k-data-value-field="\'id\'"                   k-on-change="onChangeCategoryItem()" />        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button class="btn btn-primary" ng-disabled="!hasChangeCategory" ng-click="save()">保存</button>        <button class="btn btn-default" ng-click="close()">关闭</button>    </div></div>');templateCache.put('/app/practice/views/charge/practice-chargeitem-edit-view.html','<div class="modal-container detail-modal-wrap clearfix charge-item-edit-modal-wrap"     ng-class="{\'has-product-list\':hasProductList}" ares-modal-dragable ares-clean-kendo>    <div class="modal-container-left">        <div class="modal-header ares-dialog-header">            <button type="button" class="pull-right iconfont icon-guanbi" ng-click="cancel()"                    aria-label="Close"></button>            <h4 class="modal-title">{{popWindowTitle}}</h4>        </div>        <div class="modal-body ares-dialog-body">            <form name="chargeItemForm" id="chargeItemForm" class="form-horizontal" style="margin-left:15px;">                <div class="form-group" style="margin:15px -15px;" ng-if="isProductSaleEnabled && !isServiceAddChargeItem(currentChargeItem)">                    <label class="column-title control-label" style="line-height: normal;">项目类型</label>                    <label class="ares-radio-inline auto-width type-radio" ng-click="changeDataType()">                        <input type="radio" name="dateType" ng-value="false"                               ng-model="currentChargeItem.chargeItemType" value="0"                               ng-disabled="!isChargeItemEditAllowedWithBp"                               ares-disable-when-parent="ChargeItem"                               class="radioChargeItemType"><span class="radioInput"></span>诊疗服务                    </label>                    <label class="ares-radio-inline auto-width type-radio" ng-click="changeDataType()">                        <input type="radio" name="dateType" ng-value="true"                               ng-model="currentChargeItem.chargeItemType" value="1"                               ng-disabled="!isChargeItemEditAllowedWithBp"                               ares-disable-when-parent="ChargeItem"                               class="radioChargeItemType"><span class="radioInput"></span>商品销售                    </label>                </div>                <div class="form-group" style="margin:15px -15px;" ng-if="hasChildOrgs">                    <label class="column-title control-label" style="line-height: normal;">可用机构</label>                    <div class="col-sm-2">                        <ares-multi-select id="org" data-placeholder="请选择机构" tag="机构"                                           ng-model="syncOptions.allowSyncOrganizations"                                           text-field="name" value-field="id"                                           multi-source="orgInfoData"                                           select-height="430"                                           search-choice="" soure-url="" style="width: 340px;"></ares-multi-select>                    </div>                </div>                <div class="form-group" ng-if="currentChargeItem.chargeItemType == 0 || isServiceAddChargeItem(currentChargeItem)">                    <label class="label-title">                        基本信息                        <span ng-if="isShowAllowUpdatePrice"                               style="background-color:#7ed321;border-radius:3px;padding:0px 2px;color:white;">医</span>                    </label>                    <div class="form-group" style="margin-top: 15px;">                        <label class="column-title control-label"><b class="required">*</b>名称</label>                        <div class="column-context-contianer">                            <input class="column-context form-control"                                   id="chargeName"                                   name="chargeName"                                   ng-disabled="!isChargeItemEditAllowedWithBp"                                   ng-model="currentChargeItem.itemName"                                   ares-disable-when-parent="ChargeItem" />                        </div>                        <label class="column-title control-label">拼音码</label>                        <div class="column-context-contianer">                            <input class="column-context form-control"                                   id="pinyin" disabled="disabled"                                   name="pinyin"                                   style="width:99%;"                                   ng-model="currentChargeItem.pinyin"                                   ares-disable-when-parent="ChargeItem" />                        </div>                    </div>                    <div class="form-group" style="width:50%; float:left">                        <label class="column-title control-label"                               style="width:20%;margin-right:12px;">英文名称</label>                        <div class="column-context-contianer" style="width:69%">                            <input class="column-context form-control"                                   id="chargeEnglishName"                                   name="chargeEnglishName"                                   ng-disabled="!isChargeItemEditAllowed || isApptApplyCompleteChargeItem()"                                   ng-model="currentChargeItem.itemEnglishName"                                   ares-disable-when-parent="ChargeItem" />                        </div>                    </div>                    <div class="form-group" style="width:50%;float: left;margin-left: 15px;">                        <label class="column-title control-label" style="width:20%; margin-left:-5px;">                            <b ng-if="procedureCodeRequired" class="required">*</b>项目编码                        </label>                        <div class="column-context-contianer" style="width:68%;">                            <input class="column-context form-control"                                   id="chargeCode"                                   name="chargeCode"                                   ng-disabled="!isChargeItemEditAllowed || isApptApplyCompleteChargeItem()"                                   ng-model="currentChargeItem.procedureCode"                                   ares-disable-when-parent="ChargeItem" />                        </div>                    </div>                    <div class="form-group">                        <label class="column-title control-label">单位</label>                        <input ng-model="currentChargeItem.unit"                               class="column-context-sm form-control"                               ng-disabled="!isChargeItemEditAllowedWithBp"                               ares-disable-when-parent="ChargeItem" />                        <label class="column-title control-label" style="margin-left:-15px">单价</label>                        <input kendo-numeric-text-box class="form-control"                               ng-disabled="!isChargeItemEditAllowedWithBp"                               style="width:80px;float: left;font-weight: normal;font-size:13px;"                               k-ng-model="currentChargeItem.price"                               k-options="{format: \'#.##\', decimals:2}"                               k-spinners="false" k-min="0"                               k-on-change="onPriceChanged(kendoEvent)"                               ares-disable-when-parent="ChargeItem" />                        <label class="column-title-lg control-label" style="margin-left:12px;">允许单项打折</label>                        <div class="config-on column-context" style="float:left;"                             ng-class="currentChargeItem.allowDiscount ? \'config-on\':\'config-off\'"                             ng-click="changeAllowDiscount()"                             ares-disable-when-parent="ChargeItem">                            &nbsp;                        </div>                        <label class="column-title-lg control-label" style="margin-left:42px"                               ng-show="currentChargeItem.allowDiscount">单项折扣下限</label>                        <input kendo-numeric-text-box class="form-control"                               ng-disabled="!isChargeItemEditAllowed"                               style="width:80px;float: left;font-weight: normal;font-size:13px;"                               k-min="0" k-max="100" k-step="1"                               k-options="{format: \'#.##\', decimals:2}"                               k-ng-model="currentChargeItem.minDiscount"                               ares-disable-when-parent="ChargeItem"                               ng-show="currentChargeItem.allowDiscount" />                        <label ng-show="currentChargeItem.allowDiscount"                               class="control-label" style="float:left;width:10px;">%</label>                    </div>                    <div class="form-group">                        <label class="column-title control-label">最小单价</label>                        <input kendo-numeric-text-box class="form-control"                               ng-disabled="!isChargeItemEditAllowedWithBp"                               style="width:10.1%;float: left;font-weight: normal;font-size:13px;"                               k-options="{format: \'#.##\', decimals:2}"                               k-ng-model="currentChargeItem.minPrice"                               k-spinners="false" k-max="currentChargeItem.price" k-min="0"                               ares-disable-when-parent="ChargeItem" />                        <label class="column-title control-label" style="margin-left:15px;">最大单价</label>                        <input kendo-numeric-text-box class="form-control"                               ng-disabled="!isChargeItemEditAllowedWithBp"                               k-options="{format: \'#.##\', decimals:2}"                               style="width:10.1%;float: left;font-weight: normal;font-size:13px;"                               k-ng-model="currentChargeItem.maxPrice"                               k-spinners="false" k-min="currentChargeItem.price"                               ares-disable-when-parent="ChargeItem" />                        <label class="column-title-lg control-label" style="margin-left:12px;">允许整单打折</label>                        <div class="config-on column-context" style="float:left;"                             ng-class="currentChargeItem.allowOrderDiscount ? \'config-on\':\'config-off\'"                             ng-click="changeAllowOrderDiscount()"                             ares-disable-when-parent="ChargeItem">                            &nbsp;                        </div>                        <label class="column-title control-label" style="margin-left:20px;">是否启用</label>                        <div class="config-on column-context" style="float:left;"                             ng-class="currentChargeItem.isDisabled ? \'config-off\':\'config-on\'"                             ng-click="changeIsChargeEnabled()"                             ares-disable-when-parent="ChargeItem">                            &nbsp;                        </div>                    </div>                    <div class="form-group">                        <label class="column-title control-label">类别</label>                        <input ng-disabled="!isChargeItemEditAllowed                                || isApptApplyCompleteChargeItem()"                               ares-disable-when-parent="ChargeItem"                               class="column-context-md form-control super-category" />                        <input ng-disabled="!isChargeItemEditAllowed                                || isApptApplyCompleteChargeItem()"                               ares-disable-when-parent="ChargeItem"                               class="column-context-md form-control category" />                        <label class="column-title control-label">是否成交</label>                        <div class="config-on column-context" style="float:left;"                             ng-class="currentChargeItem.isInDeal ? \'config-on\':\'config-off\'"                             ng-click="changeIsInDeal()"                             ares-disable-when-parent="ChargeItem">                            &nbsp;                        </div>                        <label class="column-title control-label" style="width:100px;"                               ng-if="isYouzanEnabled">是否计算例数</label>                        <div class="config-on column-context" style="float:left;"                             ng-if="isYouzanEnabled"                             ng-class="bitwiseAnd(currentChargeItem.itemOption, 1) == 1 ? \'config-on\':\'config-off\'"                             ng-click="changeItemOption(1)"                             ares-disable-when-parent="ChargeItem">                            &nbsp;                        </div>                                            </div>                    <div class="form-group">                        <label class="column-title control-label">费用类型</label>                        <input kendo-drop-down-list                               ng-disabled="!isChargeItemEditAllowed || isApptApplyCompleteChargeItem()"                               ng-model="currentChargeItem.itemSubCategory"                               data-source="subChargeTypeList"                               ares-disable-when-parent="ChargeItem"                               class="column-context-md form-control" />                        <label class="column-title control-label"                               ng-if="isHealthBureauDataExportEnabled || IsHealthBureauDataExportEnabled_Shenzhen">是否处置项</label>                        <div class="config-on column-context" style="float:left;"                             ng-if="isHealthBureauDataExportEnabled || IsHealthBureauDataExportEnabled_Shenzhen"                             ng-class="bitwiseAnd(currentChargeItem.itemOption, 2) == 2 ? \'config-on\':\'config-off\'"                             ng-click="changeItemOption(2)"                             ares-disable-when-parent="ChargeItem">                            &nbsp;                        </div>                        <label class="column-title control-label" style="width:100px;"                               ng-if="isShowAllowUpdatePrice">允许修改价格</label>                        <div class="config-on column-context" style="float:left;"                             ng-if="isShowAllowUpdatePrice"                             ng-class="bitwiseAnd(currentChargeItem.isPriceUpdatable, 1) == 1 ? \'config-on\':\'config-off\'"                             ng-click="changeAllowUpdatePrice()"                             ares-disable-when-parent="ChargeItem">                            &nbsp;                        </div>                    </div>                    <div class="form-group">                        <label class="column-title control-label">备注</label>                        <div class="column-context-contianer">                            <input class="column-context form-control" id="note" name="note" maxlength="60"                                   ng-model="currentChargeItem.note"                                   ares-disable-when-parent="ChargeItem" />                        </div>                    </div>                    <div class="form-group free-field-wrap" ng-show="freeFields.length>0" style="margin-bottom:0;">                        <div style="width:47%;display:inline-block;vertical-align:middle;margin-bottom:15px;"                             ng-repeat="freeField in freeFields" ng-show="freeFieldDicts[freeField.abbr]">                            <label class="column-title control-label" style="width:80px;">{{freeField.itemValue}}</label>                            <input kendo-drop-down-list                                   ng-disabled="!isChargeItemEditAllowed"                                   style="width:265px;"                                   k-filter="\'contains\'"                                   k-data-text-field="\'itemName\'"                                   k-data-value-field="\'itemName\'"                                   ng-model="currentChargeItem.freeFieldInfo[freeField.abbr]"                                   data-source="freeFieldDicts[freeField.abbr]"                                   ares-disable-when-parent="ChargeItem"                                   class="form-control" />                        </div>                    </div>                    <div class="label-title" ng-show="allowChargeDeduction">                        <label style="color: #575d6a; font-weight:500; font-size:16px;">划扣配置</label>                        <input id="chargeDeductionPlan"                               ng-disabled="!isChargeItemEditAllowed"                               ares-disable-when-parent="ChargeItem"                               style="width: 200px; float: right; margin-right:10px; margin-top: 8px; font-size: 14px" />                        <div style="float:right;height:50px;" ng-show="isShowAutoDeductionExecuteSwitchEnabled">                            <label style="color: #575d6a;font-weight: 500;font-size: 16px;margin: 0;line-height: 50px;">                                自动划扣执行                            </label>                            <div class="config-on column-context"                                 style="display: inline-block;vertical-align: middle;margin: 0 15px 0 0;"                                 ng-class="currentChargeItem.isAutoDeduct ? \'config-on\':\'config-off\'"                                 ng-click="changeIsAutoDeduct()"                                 ares-disable-when-parent="ChargeItem">                                &nbsp;                            </div>                        </div>                    </div>                    <div class="form-group" ng-if="allowChargeDeduction && (currentDeductionPlan.id != 0 || currentChargeItem.isAutoDeduct)"                         style="margin-bottom:-15px;">                        <div class="form-group step-continer" ng-repeat="step in currentChargeItem.deductionSteps">                            <practice-chargeitem-deduction-step-view deduction-step="step"                                                                     product-list="productList"                                                                     followup-rule-lites="followupRuleLites"                                                                     is-connect-yongyou-hrp="isConnectYongyouHrp"                                                                     is-show-auto-deduction-execute="isShowAutoDeductionExecuteSwitchEnabled"                                                                     is-charge-item-edit-allowed="isChargeItemEditAllowed">                            </practice-chargeitem-deduction-step-view>                        </div>                    </div>                </div>                <div class="form-group" ng-if="currentChargeItem.chargeItemType == 1" style="margin-bottom: 5px;">                    <div class="label-title">                        <label>销售物品</label>                    </div>                    <div class="form-group product-empty-tips-btn" style="text-align:center; margin-right:0px;"                         ng-if="currentChargeItem.product == null&&!hasProductList">                        <button class="btn btn-default" ng-click="openEditProductChargeItemDialog()"                                style="color: #00a6c9; border-color: #00a6c9; border-radius:0px; width:140px; height:40px; font-size:18px;">                            选择物品                        </button>                    </div>                    <div class="product-empty-tips" ng-if="currentChargeItem.product == null&&hasProductList">                        <ares-empty-list-hint hint="请从右侧选择想要销售的物品"></ares-empty-list-hint>                    </div>                    <div class="form-group" ng-if="currentChargeItem.product != null" style="margin:10px 20px;">                        <div class="spu-head">                            <div class="row">                                <div class="col-sm-2 spu-img-body">                                    <div class="spu-img">                                        <img ng-if="currentChargeItem.product.productUnity.imgUrl" width="54"                                             height="58" style="border: 1px solid rgb(227, 227, 227);" class=""                                             ng-src="{{currentChargeItem.product.productUnity.imgUrl}}">                                        <img ng-if="!currentChargeItem.product.productUnity.imgUrl"                                             ng-src="/content/imgs/defaultimg.png" width="54" height="58"                                             style="border: 1px solid rgb(227, 227, 227);">                                    </div>                                </div>                                <div class="col-sm-9 sup-info">                                    <div class="product-name clearfix">                                        <div class="title single-line-text"                                             title="{{currentChargeItem.product.productUnity.name}}">                                            {{currentChargeItem.product.productUnity.name}}                                        </div>                                        <div class="replace-product"                                             ng-if="currentChargeItem.product != null && !hasProductList"                                             ng-click="openEditProductChargeItemDialog()">                                            更换物品                                        </div>                                    </div>                                    <div class="spec single-line-text" style="width:100%;"                                         title="{{currentChargeItem.product.productUnity.subTitle}}">                                        {{currentChargeItem.product.productUnity.subTitle}}                                    </div>                                    <div>                                        <div class="spec col-sm-4"                                             title="{{currentChargeItem.product.product.producer}}">                                            <span>品牌：{{currentChargeItem.product.product.producer}} </span>                                        </div>                                        <div class="spec col-sm-4"                                             title="{{currentChargeItem.product.product.category}}">                                            <span>所属类目：{{currentChargeItem.product.product.category}} </span>                                        </div>                                        <div class="spec col-sm-4"                                             title="{{currentChargeItem.product.product.specification}}">                                            <span>规格：{{currentChargeItem.product.product.specification}} </span>                                        </div>                                    </div>                                    <div>                                        <div class="spec col-sm-4"                                             title="{{currentChargeItem.product.productUnity.sfdaCode}}">                                            <span>药(械)准字：{{currentChargeItem.product.productUnity.sfdaCode}} </span>                                        </div>                                        <div class="spec col-sm-4"                                             title="{{currentChargeItem.product.productUnity.expiration}}">                                            <span>保质期：{{currentChargeItem.product.productUnity.expiration}} </span>                                        </div>                                        <div class="spec col-sm-4" title="{{currentChargeItem.product.product.unit}}">                                            <span>单位：{{currentChargeItem.product.product.unit}} </span>                                        </div>                                    </div>                                </div>                            </div>                        </div>                        <div class="spu-head spu-head-category-price">                            <div class="row">                                <div class="col-sm-12 sup-info">                                    <div class="row" style="margin-left: 0;">                                        <div class="spec col-sm-5">                                            <div class="spec" style="float:left">名称</div>                                            <input style="width:80%;margin-left: 10px;"                                                   class="column-context-sm form-control"                                                   ng-model="currentChargeItem.productItemName"                                                   placeholder="修改项目名称" />                                        </div>                                        <div class="spec col-sm-4" style="width: 165px;">                                            <div class="spec" style="margin-right: 10px;">类别</div>                                            <input ares-disable-when-parent="ChargeItem"                                                   style="width:120px;min-width:120px;"                                                   class="super-category" />                                        </div>                                        <div class="spec col-sm-4" style="width: 165px;">                                            <input ares-disable-when-parent="ChargeItem"                                                   style="width:120px;min-width:120px;"                                                   class="category" />                                        </div>                                    </div>                                    <div class="row" style="margin-left: 0;">                                        <div class="spec col-sm-4" style="width: 175px;">                                            <div class="spec" style="float:left;margin-right: 10px">售价</div>                                            <input kendo-numeric-text-box k-spinners="false" k-min="0"                                                   style="width:120px;float:left;margin-right: 0;font-size:13px;"                                                   ng-model="currentChargeItem.price"                                                   class="form-control"                                                   k-ng-model="currentChargeItem.price"                                                   ares-disable-when-parent="ChargeItem" />                                        </div>                                        <div class="spec col-sm-5">                                            <div class="spec" style="float:left">允许打折</div>                                            <div class="spec config-icon" style="float:left"                                                 ng-class="currentChargeItem.allowDiscount ? \'config-on\':\'config-off\'"                                                 ng-click="changeAllowDiscount()"                                                 ares-disable-when-parent="ChargeItem">                                                &nbsp;                                            </div>                                        </div>                                    </div>                                    <div class="row" style="margin:15px 0 0 0;">                                        <div class="free-field-wrap" ng-show="freeFields.length>0" style="margin-bottom:0;">                                            <div style="width:47%;display:inline-block;vertical-align:middle;margin-bottom:15px;"                                                 ng-repeat="freeField in freeFields" ng-show="freeFieldDicts[freeField.abbr]">                                                <div class="spec" style="float:left;margin-right: 10px">{{freeField.itemValue}}</div>                                                <input kendo-drop-down-list                                                       style="width:265px;"                                                       k-filter="\'contains\'"                                                       k-data-text-field="\'itemName\'"                                                       k-data-value-field="\'itemName\'"                                                       ng-model="currentChargeItem.freeFieldInfo[freeField.abbr]"                                                       data-source="freeFieldDicts[freeField.abbr]"                                                       ares-disable-when-parent="ChargeItem"                                                       class="form-control" />                                            </div>                                        </div>                                    </div>                                </div>                            </div>                        </div>                    </div>                </div>            </form>        </div>        <div class="modal-footer ares-dialog-footer" style="text-align:center;" ng-if="isChargeItemEditAllowed">            <button class="lc-btn lc-btn-primary" ng-click="validAndSave()">                保存            </button>            <button class="lc-btn lc-btn-default" ng-click="cancel()">取消</button>        </div>    </div>    <div class="modal-container-right" ng-class="{\'active\':hasProductList}">        <practice-chargeitem-product-edit-view></practice-chargeitem-product-edit-view>    </div></div>');templateCache.put('/app/practice/views/charge/practice-chargeitem-product-edit-view.html','<div class="product-container detail-modal-wrap" ares-clean-kendo>    <style type="text/css">        .ares-md-modal-content .modal-dialog{            width:400px;        }        .product-container {            width:400px;            min-height:100px;            height:auto        }        .product-container .spu-list {            height:500px;            max-height:500px;            margin:5px;        }        .product-container .spu-list .spu-list-content {            overflow:hidden;            height:calc(100% - 35px);            width:100%;        }        .product-container .spu-list .spu-list-li {            margin-top:10px;            background-color:#fff;        }        .product-container .spu-list .spu-list-li:hover {            box-shadow:1px 1px 1px 1px #dedede;        }        .product-container .spu-list .spu-list-li:hover .spu-head {            background:#4a90e2;        }        .product-container .spu-list .spu-list-li:hover .spu-head .sup-info .spec,.product-container .spu-list .spu-list-li:hover .spu-head .sup-info .title {            color:#fff;        }        .product-container .spu-list-li table {            width:100%;        }        .product-container .spu-list .table-header {            background:#4a90e2;            margin-top:7px;        }        .product-container .spu-list .table-header table tr th {            text-align:center;            font-weight:normal;            padding:3px 0;            color:#fff;            height: 32px;        }        .product-container .spu-list-li table tr {            font-size:13px;            color:#575d6a;        }        .product-container .spu-list-li .table-main {            border-right:1px solid #D6D9DF;            border-left:1px solid #D6D9DF;        }        .product-container .spu-list-li .table-main table {            table-layout: fixed;            word-break: break-all;        }        .product-container .spu-list-li .table-main table tr {            border-bottom:1px solid #D6D9DF;            cursor:pointer;        }        .product-container .spu-list-li .table-main table tr:nth-child(even) {            background-color:#eff7ff;        }        .product-container .spu-list-li .table-main table tr:hover {            background-color:#E0FAFF;        }        .product-container .spu-list-li table tr .icon-addition_fill {            font-size:17px;            color:#00a6c9;        }        .product-container .spu-list-li table tr .disabled .icon-addition_fill {            color:#D6D9DF        }        .product-container .spu-list-li .spu-head {            border:1px solid #D6D9DF;            border-bottom:0;            background:#d3dce6;        }        .product-container .spu-list-li .spu-head .spu-img-body {            height:100%;            padding-right:0;            width:85px;        }        .product-container .spu-list-li .spu-head .spu-img-body .spu-img {            margin:auto;            text-align:center        }        .product-container .spu-list-li .spu-head .spu-img-body .spu-img img {            width:60px;            height:60px;            margin:5px;        }        .product-container .spu-list-li .spu-head .sup-info {            width:300px;            padding-right:0;            padding-left:0;            margin-left:5px;        }        .product-container .spu-list-li .spu-head .sup-info .title {            color:#2f2e2e;            font-size:14px;            width:95%;            margin-top:5px;        }        .product-container .spu-list-li .spu-head .sup-info .spec {            font-size:13px;            color:#575d6a;            line-height:1.5em;        }        .product-container .single-line-text {            width:100%;            display:block;            overflow:hidden;            text-overflow:ellipsis;            white-space:nowrap;        }        .product-container h4:before {            width:0px !important;        }        .product-container .k-dropdown .k-dropdown-wrap.k-state-default{            border-color: #d6d9df;        }    </style>    <div class="modal-body ares-dialog-body" style="padding: 0;">        <div class="form-horizontal" style="height:35px;margin:10px 5px;">            <div style="width: 130px;background-color: #fff;float: left;display: inline-block;margin-right: 10px;">                <ares-tree-dropdown tree-data="categoriesTree" text-field="name" selected="selCategory" on-select="onProductCategoryChange(selectedData)" max-height="250"></ares-tree-dropdown>            </div>            <input class="form-control"                    ng-model="searchKeywords"                   placeholder="物品名称/品牌/规格/内部编码"                   style="max-width:249px; width:249px; height:32px;float:left;padding-right:30px;box-shadow: none;border-color: #d6d9df;"                    ng-keypress="onEnter($event)" />            <i class="iconfont icon-sousuo" style="position: absolute;z-index:5;margin:6px -25px;cursor:pointer"                ng-click="onSearch()"></i>        </div>        <div class="spu-list">            <div class="table-header">                <table style="width: 100%;">                    <tr>                        <th style="width:40%;text-align: left;padding-left: 10px;">规格</th>                        <th style="width:15%;">单位</th>                        <th style="width:35%;">内部编码</th>                        <th style="width:10%;"></th>                    </tr>                </table>            </div>            <div class="spu-list-content" style="border-bottom: 1px solid #e3e3e3;">                <div class="spu-list-li" ng-repeat="productUnity in productUnityList">                    <div class="spu-head">                        <div class="row">                            <div class="col-sm-2 spu-img-body">                                <div class="spu-img">                                    <img ng-show="productUnity.imgUrl" width="54" height="58" style="border: 1px solid rgb(227, 227, 227);" class="" ng-src="{{productUnity.imgUrl}}">                                    <img ng-show="!productUnity.imgUrl" ng-src="/content/imgs/defaultimg.png" width="54" height="58" style="border: 1px solid rgb(227, 227, 227);">                                </div>                            </div>                            <div class="col-sm-9 sup-info">                                <div class="title single-line-text" title="{{productUnity.name}}">{{productUnity.name}}</div>                                <div class="spec" title="{{productUnity.producer}}"><span>品牌：{{productUnity.producer}} </span></div>                                <div class="spec" title="{{productUnity.category}}"><span>所属类目：{{productUnity.category}} </span></div>                            </div>                        </div>                    </div>                    <div class="table-main">                        <table>                            <tr ng-repeat="product in productUnity.products" ng-click="selectProduct(productUnity, product)">                                <td style="width:40%;text-align:left;text-indent: 10px;">                                    <span class="single-line-text" title="{{product.specification}}">                                        {{product.specification}}                                    </span>                                </td>                                <td style="width:15%;text-align:center;">                                    <span class="single-line-text" title="{{product.unit}}">                                        {{product.unit}}                                    </span>                                </td>                                <td style="width:35%;text-align:center;">                                    <span class="single-line-text" title="{{product.code}}">                                        {{product.code}}                                    </span>                                </td>                                <td style="width:10%;text-align:center;vertical-align:text-top;" class="in-order-action-btn">                                    <span ng-if="!product.isAdded" class="remark"><i class="iconfont icon-addition_fill"></i></span>                                    <span ng-if="product.isAdded" class="remark disabled"><i class="iconfont icon-addition_fill"></i></span>                                </td>                            </tr>                        </table>                    </div>                </div><!-- spu-list-li -->            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/emr-template-component-config-view.html','<div class="emr-template-component-container clearfix">    <div class="component-category-box">        <emr-template-layout-field-tree-view on-add-click="onAddLayoutField(field)" on-field-selected="onLayoutFieldSelected(field)"></emr-template-layout-field-tree-view>    </div>    <div class="component-content-box" ng-show="selectedField">        <div id="component-library-box"></div>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/emr-template-config-view.html','<div class="emr-template-config-view clearfix">    <div class="template-type-list-box">        <ul>            <li ng-repeat="templateType in templateTypes" style="line-height:30px;">                <div style="padding-left: 10px;padding-right: 10px;">                    <table style="width:100%;">                        <tr>                            <td>                                <span>                                    <i style="font-size: 10px;" class="glyphicon" ng-class="{ \'glyphicon-triangle-bottom\':templateType.isOpenChilds,\'glyphicon-triangle-right\':!templateType.isOpenChilds}"></i>                                    {{templateType.templateName}}                                </span>                            </td>                            <td style="width:50px;text-align:right;">                                <span style="color: #EBEBEB;">|</span>                                <span style="font-size: 13px;color: #00A6C9;cursor:pointer;" ng-click="isShowTemplateNameEditDialog(true,templateType)">新增</span>                            </td>                        </tr>                    </table>                </div>                <div ng-show="templateType.isOpenChilds">                    <ul>                        <li ng-repeat="template in templateType.templates">                            <div class="template-title-box" ng-class="{ \'template-title-table-active\':template.isActive}">                                <table>                                    <tr style="height:31px;border-right: 3px solid;" ng-style="{\'border-right-color\':template.isActive?\'#00a6c9\':\'#fff\'}"  ng-mouseover="onTemplateFieldMouseover(template,true)" ng-mouseleave="onTemplateFieldMouseover(template,false)" >                                        <td>                                            <div ng-click="onTemplateClick(template,templateType)" ng-dblclick="onTemplateDblclick(template,templateType)" ng-if="!template.isEdit" style="white-space: nowrap;text-overflow: ellipsis;overflow: hidden;width: 170px;">{{template.templateName}}</div>                                            <div style="border:1px solid #00A6C9;margin-top: 2px;background-color:#FFFFFF;margin-right: 1px;height: 26px;" class="clearfix" ng-if="template.isEdit">                                                <input maxlength="20" id="templateName_{{template.templateCode}}" style="float:left;height: 24px;border:none;width: calc(100% - 65px);padding-left:5px;" type="text" value="{{template.templateName}}" />                                                <div ng-click="isShowTemplateNameEditDialog(false,templateType,template)" class="child-edit-close-btn" style="height: 26px;width: 29px;">                                                    <i class="glyphicon glyphicon-remove"></i>                                                </div>                                                <div ng-click="addTemplate(template,$event)" class="child-edit-ok-btn" style="height: 26px;width: 29px;">                                                    <i class="glyphicon glyphicon-ok"></i>                                                </div>                                            </div>                                        </td>                                        <td ng-if="!template.isEdit" style="width:50px;text-align:right;">                                            <i ng-click="removeTemplate(template,templateType)" ng-show="template.isActive||template.isShowBtn" class="iconfont icon-shanchu" title="删除" style="font-size: 13px;float:right;margin-right:10px;"></i>                                            <i ng-click="showPreviewDialog(template)" ng-show="template.isActive||template.isShowBtn" class="iconfont icon-chakan" title="预览" style="font-size: 13px;float:right;padding-right:10px;"></i>                                        </td>                                    </tr>                                </table>                            </div>                        </li>                    </ul>                </div>            </li>        </ul>    </div>    <div class="template-content-box" ng-show="selectedTemplate">        <div class="template-content-title-box clearfix">            <span ng-if="!selectedTemplate.isEditTitle">{{selectedTemplate.templateName}}</span>            <i ng-if="!selectedTemplate.isEditTitle" class="glyphicon glyphicon-pencil" style="color:#00A6C9;cursor:pointer;" ng-click="onEditTitle()"></i>            <div style="border:1px solid #00A6C9;background-color:#FFFFFF;margin-top: 3px;height:30px;width: 365px;float:left" ng-if="selectedTemplate.isEditTitle">                <input maxlength="20" id="template-title-input" style="float:left;height: 28px;border:none;width: 300px;padding-left:5px;" type="text" value="{{selectedTemplate.templateName}}" />                <div ng-click="selectedTemplate.isEditTitle=false" class="child-edit-close-btn">                    <i class="glyphicon glyphicon-remove"></i>                </div>                <div ng-click="saveTitle()" class="child-edit-ok-btn">                    <i class="glyphicon glyphicon-ok"></i>                </div>            </div>            <button style="border: 1px solid #00a6c9;background-color: #00a6c9;color: #fff;float:right;margin-top: 6px;line-height:normal;" type="button" ng-click="showPreviewDialog(selectedTemplate)">                预览            </button>        </div>        <div class="template-component-box">            <div class="component-head-box">                <label style="margin:8px;">已添加组件</label>                <button style="border: 1px solid #00a6c9;background-color: #FFFFFF ;color: #00a6c9;float:right;width: 70px;height: 32px;margin-right:8px;" type="button" ng-click="showAddComponentDialog()">                    <i class="iconfont icon-tianjia"></i>                    新增                </button>                <div class="component-dialog" ng-show="isShowAddComponentDialog">                    <ul style=" max-height: 440px; overflow-y:auto;">                        <li ng-repeat="layoutField in layoutFields">                            <div style="padding:10px;">                                <i style="font-size: 10px;" class="glyphicon" ng-class="{ \'glyphicon-triangle-bottom\':!layoutField.isHideChilds,\'glyphicon-triangle-right\':layoutField.isHideChilds}"></i>                                <span>{{layoutField.fieldName}}</span>                                <span ng-click="selectAll(layoutField)" style="float:right;color:#00A6C9;cursor:pointer">全选</span>                            </div>                            <div>                                <ul>                                    <li ng-repeat="subField in layoutField.subFields" style="width:160px;height:34px;padding-left:30px;float:left;">                                        <div class="lc-checkbox" style="line-height:34px;font-size: 14px;color: #575D6A;">                                            <input id="ck_number_{{subField.fieldCode}}" type="checkbox" name="ck_number_{{subField.fieldCode}}" ng-model="subField.isCheckd" class="k-checkbox">                                            <label class="k-checkbox-label" style="margin-bottom: 2px;line-height: 16px;font-size: 13px;font-weight: normal;" for="ck_number_{{subField.fieldCode}}">{{subField.fieldName|emrTemplateFieldsStr}}</label>                                        </div>                                    </li>                                </ul>                            </div>                        </li>                    </ul>                    <div class="clearfix" style="margin-bottom:8px;padding-top:8px; border-top:1px solid #E3E3E3;">                        <button ng-click="showAddComponentDialog()" style="border: 1px solid #00a6c9;background-color: #FFFFFF;color: #00a6c9;float:right;margin-right:10px;" type="button">                            取消                        </button>                        <button ng-click="addTemplateFields()" style="border: 1px solid #00a6c9;background-color: #00a6c9;color: #fff;float:right;margin-right:10px;" type="button">                            保存                        </button>                    </div>                </div>            </div>            <div>                <ul>                    <li style="margin-top: 10px;" ng-repeat="category in selectedTemplate.categories">                        <span style="margin-left:8px;">{{category.fieldName}}</span>                        <ul ng-show="category.subFields && category.subFields.length>0">                            <li ng-repeat="templateField in category.subFields">                                <div class="template-title-box" style="padding-left: 20px;" ng-class="{ \'template-title-table-active\':templateField.isActive}" ng-mouseover="onTemplateFieldMouseover(templateField,true)" ng-mouseleave="onTemplateFieldMouseover(templateField,false)">                                    <table ng-click="onTemplateLayoutFieldClick(templateField,category)">                                        <tr style="height:31px;">                                            <td>                                                <div style="white-space: nowrap;text-overflow: ellipsis;overflow: hidden;width: 130px;">{{templateField.fieldName|emrTemplateFieldsStr}}</div>                                            </td>                                            <td style="width:65px;text-align:right;">                                                <div ng-show="templateField.isActive || templateField.isShowBtn">                                                    <i ng-click="onMoveDown(templateField,category)" class="iconfont icon-xiajiang" title="下移" style="font-size: 13px;margin-right:5px;"></i>                                                    <i ng-click="onMoveUp(templateField,category)" class="iconfont icon-shangsheng" title="上移" style="font-size: 13px;margin-right:5px;"></i>                                                    <i ng-click="removeTemplateField(templateField,category)" class="iconfont icon-shanchu" title="删除" style="font-size: 13px;margin-right:5px;"></i>                                                </div>                                            </td>                                        </tr>                                    </table>                                </div>                            </li>                        </ul>                    </li>                </ul>            </div>        </div>        <div class="template-component-detail-box" ng-show="isShowDetail">            <div id="previewContent" class="medical-record-text-body"></div>        </div>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/emr-template-preview-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">预览-{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <div id="previewContent" class="medical-record-text-body"></div>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/component-library-checkbox-view.html','<div class="component-library-checkbox-box component-common-style" ng-show="ngModel">    <!--查看模式start-->    <div ng-hide="ngModel.isEditMode" style="padding: 4px 10px;">        <div ng-hide="isHideEditBtn"             ng-click="ngModel.isEditMode=true;"             style="cursor:pointer;background-color: rgba(43,56,80,0.80);height: 30px;width: 30px;position: absolute;right: 30px;color: #FFFFFF;line-height: 30px;text-align: center;margin-right: 10px;">            <i class="glyphicon glyphicon-pencil"></i>        </div>        <div>            <span style="font-size: 14px; color: #2E4050;">{{ngModel.fieldName}}(多选)</span>            <div style="padding:10px 50px 10px 10px;display: flex; flex-flow: row wrap;">                <div ng-repeat="item in ngModel.childs track by $index"                     style="width: 25%; padding-right: 10px; box-sizing: border-box;">                    <label style="cursor: pointer;font-weight:normal;">                        <input type="checkbox"                               name="group_{{ngModel.fieldCode}}"                               ng-click="onChecked($event, item)"                               ng-model="item._isChecked"                               value="{{item.value}}"                        />                        <span style="vertical-align: top;">{{item.value}}</span>                    </label>                    <input style="width: 100px;" ng-show="item.optionData.inputType==\'number\' && item._isChecked" type="number" max="{{item.optionData.max}}" min="{{item.optionData.min}}" step="{{item.optionData.step}}" />                    <input style="width: 100px;" ng-show="item.optionData.inputType==\'string\' && item._isChecked" type="text" />                </div>            </div>        </div>    </div>    <!--查看模式end-->    <!--编辑模式start-->    <table class="content-table" ng-show="ngModel.isEditMode">        <tr><td colspan="2"><div class="content-table-title">多选题</div></td></tr>        <tr class="content-table-tr">            <td class="label-name-td">                <span style="margin-right: 10px;">标题</span>            </td>            <td style="text-align: left;">                <input style="height: 32px;" maxlength="20" type="text" class="common-input form-control" ng-model="ngModel.oldName">            </td>        </tr>        <tr class="content-table-tr">            <td class="label-name-td" valign="top">                <span class="color-red">*</span>                <span style="margin-right: 10px;">题目类型</span>            </td>            <td valign="top" >                <table style="width:100%;">                    <tr>                        <td colspan="2">                            <div class="common-readonly-div">多选题</div>                        </td>                    </tr>                    <tr style="height:40px;">                        <td style="width:50%;">选项文字</td>                        <td style="width:50%;">                            <div>                                <span style="float:left;">自定义输入</span>                                <div style="float: right;margin-right: 15px;width: 150px;padding-left: 10px;text-align: left;">操作</div>                            </div>                        </td>                    </tr>                    <tr ng-repeat="item in ngModel.childs">                        <td valign="top" style="width:50%; padding: 5px 0;">                            <input maxlength="20" style="max-width:calc(100% - 20px);width: 100%;height: 32px;" type="text" ng-model="item.value" />                        </td>                        <td valign="top" style="width:50%; padding: 5px 0;">                            <div>                                <div style="height: 27px;border: 1px solid #EBEBEB;margin-right: 10px;margin-bottom: 3px;padding-top: 3px;padding-left: 10px;">                                    <!--操作按钮 数字/文本 复选框-->                                    <div class="lc-checkbox" style="float:left;">                                        <input id="ck_number_{{item.fieldCode}}" type="checkbox" name="ck_number_{{item.fieldCode}}" class="k-checkbox" ng-checked="item.optionData.inputType==\'number\'" ng-click="onInputTypeChanged(item.optionData,\'number\')">                                        <label class="k-checkbox-label" style="margin-bottom: 2px;line-height: 16px;font-size: 13px;font-weight: normal;" for="ck_number_{{item.fieldCode}}">数字</label>                                    </div>                                    <div class="lc-checkbox" style="float:left;margin-left:20px;">                                        <input id="ck_string_{{item.fieldCode}}" type="checkbox" name="ck_string_{{item.fieldCode}}" class="k-checkbox" ng-checked="item.optionData.inputType==\'string\'" ng-click="onInputTypeChanged(item.optionData,\'string\')">                                        <label class="k-checkbox-label" style="margin-bottom: 2px;line-height: 16px;font-size: 13px;font-weight: normal;" for="ck_string_{{item.fieldCode}}">文字</label>                                    </div>                                    <!--操作按钮 上移/下移/删除-->                                    <div style="float:right;margin-right:5px;width: 150px;">                                        &nbsp;&nbsp;<i ng-click="onChildMoveDown(item,$index)" class="glyphicon glyphicon-arrow-down" style="cursor:pointer;color:#00A6C9;"></i>                                        &nbsp;&nbsp;<i ng-click="onChildMoveUp(item,$index)" class="glyphicon glyphicon-arrow-up" style="cursor:pointer;color:#00A6C9;"></i>                                        &nbsp;&nbsp;<i ng-click="onChildRemove(item)" class="glyphicon glyphicon-trash" style="cursor:pointer;color:#00A6C9;"></i>                                    </div>                                </div>                                <div ng-show="item.optionData.inputType==\'number\'" style="background-color:#F3F7F7;border: 1px solid #EBEBEB;margin-right: 10px;border-top:none;">                                    <div style="padding:5px;">                                        <span style="margin-left:14px;">最大值</span> <input style="width: 100px;height: 32px;" type="number" ng-model="item.optionData.max" />&nbsp;&nbsp;                                        <span style="margin-left: 30px;">最小值</span> <input style="width: 100px;height: 32px;" type="number" ng-model="item.optionData.min" />                                    </div>                                    <div style="padding:5px;">                                        <span>最小单位</span> <input style="width: 100px;height: 32px;" type="number" ng-model="item.optionData.step" min="1" />                                    </div>                                </div>                            </div>                        </td>                    </tr>                    <tr>                        <td colspan="2">                            <button type="button" class="add-child-btn" ng-click="addChild()"><i class="glyphicon glyphicon-plus-sign"></i>&nbsp;添加选项</button>                        </td>                    </tr>                </table>            </td>        </tr>        <tr style="height: 70px;">            <td class="label-name-td"></td>            <td style="text-align: left;">                <button type="button" ng-click="onSave()" class="save-btn">保存</button>                <button type="button" ng-click="reset()" class="reset-btn">重置</button>                <button type="button" ng-click="onClose()" class="del-btn">取消</button>            </td>        </tr>    </table>    <!--编辑模式end--></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/component-library-group-view.html','<div style="border: 1px solid #EBEBEB;margin: 10px; margin-bottom: 0;">    <div style="margin: 10px;">        <span>{{ngModel.fieldName}}</span>    </div>    <div ng-repeat="item in ngModel.subFields">        <component-library-input-view ng-if="item.inputType==fieldInputType.InputText" ng-model="item" is-hide-edit-btn="true"></component-library-input-view>        <component-library-textarea-view ng-if="item.inputType==fieldInputType.TextArea" ng-model="item" is-hide-edit-btn="true"></component-library-textarea-view>        <component-library-radio-view ng-if="item.inputType==fieldInputType.RadioButton" ng-model="item" is-hide-edit-btn="true"></component-library-radio-view>        <component-library-upload-view ng-if="item.inputType==fieldInputType.NamedPictureUploader ||item.inputType==fieldInputType.PictureUploader" ng-model="item" is-hide-edit-btn="true"></component-library-upload-view>        <sys-common-input-component-view ng-if="isShowSystemComponent(item.inputType,systemComponentType.input)" ng-model="item"></sys-common-input-component-view>        <sys-common-tooth-component-view ng-if="isShowSystemComponent(item.inputType,systemComponentType.tooth)" ng-model="item"></sys-common-tooth-component-view>        <sys-common-dropdown-component-view ng-if="isShowSystemComponent(item.inputType,systemComponentType.drowDownList)" ng-model="item" source="sourceData.archives" data-text-field="\'itemName\'" data-value-field="\'itemName\'"></sys-common-dropdown-component-view>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/component-library-input-view.html','<div class="component-library-input-box component-common-style">    <!--查看模式-->    <div ng-hide="ngModel.isEditMode" style="padding: 4px 10px;">        <div ng-hide="isHideEditBtn" ng-click="onEdit()"             style="cursor:pointer;background-color: rgba(43,56,80,0.80);height: 30px;width: 30px;position: absolute;right: 30px;color: #FFFFFF;line-height: 30px;text-align: center;">            <i class="glyphicon glyphicon-pencil"></i>        </div>        <div>            <span style="font-size: 14px; color: #2E4050;">{{ngModel.fieldName || \'单行文本框\'}}</span>            <div style="padding:10px 0;">                <input type="text"                       class="common-input"                       style="width: 816px; height: 32px; border: 1px solid #CFDBDD; padding: 7px 10px;"                       ng-bind="ngModel.defaultValue"                       placeholder="{{ngModel.placeholder || \'请输入...\'}}"                />            </div>        </div>    </div>    <!--编辑模式-->    <div class="content-table" ng-show="ngModel.isEditMode">        <div class="content-table-title">单行文本框</div>        <div class="content-table-row clearfix">            <div class="pull-left item-title"><i style="color: #f00; padding: 5px;">*</i>标题</div>            <div class="pull-left">                <input maxlength="20"                       id="field_name_{{ngModel.fieldCode}}"                       type="text"                       class="common-input form-control"                       style="width: 816px; height: 32px; border: 1px solid #CFDBDD; padding: 7px 10px;"                       value="{{ngModel.fieldName}}"                />                <div class="content-table-btns">                    <button type="button" ng-click="onSave()" class="save-btn">保存</button>                    <button type="button" ng-click="reset()" class="reset-btn">重置</button>                    <button type="button" ng-click="onClose()" class="del-btn">取消</button>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/component-library-radio-view.html','<div class="component-library-radio-box component-common-style" ng-if="ngModel">    <!--查看模式start-->    <div ng-hide="ngModel.isEditMode" style="padding: 4px 10px;">        <div ng-hide="isHideEditBtn"             ng-click="ngModel.isEditMode=true;"             style="cursor:pointer;background-color: rgba(43,56,80,0.80);height: 30px;width: 30px;position: absolute;right: 30px;color: #FFFFFF;line-height: 30px;text-align: center;margin-right: 10px;">            <i class="glyphicon glyphicon-pencil"></i>        </div>        <div>            <span style="font-size: 14px; color: #2E4050;">{{ngModel.fieldName}}(单选)</span>            <div style="padding:10px 50px 10px 10px; display: flex; flex-flow: row wrap;">                <div ng-repeat="item in ngModel.childs"                     style="width: 25%; padding-right: 10px; box-sizing: border-box;">                    <label style="cursor: pointer;font-weight:normal;">                        <input type="radio" name="group_{{ngModel.fieldCode}}" ng-value="item.value" ng-click="ngModel.selectValue=item.value" ng-model="ngModel.selectValue" value="{{item.value}}">                        <span style="vertical-align: top;">{{item.value}}</span>                    </label>                    <input style="width: 100px;" ng-show="item.optionData.inputType==\'number\' && ngModel.selectValue==item.value" type="number" max="{{item.optionData.max}}" min="{{item.optionData.min}}" step="{{item.optionData.step}}" />                    <input style="width: 100px;" ng-show="item.optionData.inputType==\'string\' && ngModel.selectValue==item.value" type="text" />                </div>            </div>        </div>    </div>    <!--查看模式end-->    <!--编辑模式start-->    <table class="content-table" ng-show="ngModel.isEditMode">        <tr><td colspan="2"><div class="content-table-title">单选题</div></td></tr>        <tr class="content-table-tr">            <td class="label-name-td">                <span style="margin-right: 10px;">标题</span>            </td>            <td style="text-align: left;">                <input style="height: 32px;" maxlength="20" type="text" class="common-input form-control" ng-model="ngModel.oldName">            </td>        </tr>        <tr class="content-table-tr">            <td class="label-name-td" valign="top">                <span class="color-red">*</span>                <span style="margin-right: 10px;">题目类型</span>            </td>            <td valign="top" >                <table style="width:100%;">                    <tr>                        <td colspan="2">                            <div class="common-readonly-div">单选题</div>                        </td>                    </tr>                    <tr style="height:40px;">                        <td style="width:50%;">选项文字</td>                        <td style="width:50%;">                            <div>                                <span style="float:left;">自定义输入</span>                                <div style="float: right;margin-right: 15px;width: 150px;padding-left: 10px;text-align: left;">操作</div>                            </div>                        </td>                    </tr>                    <tr ng-repeat="item in ngModel.childs">                        <td valign="top" style="width:50%; padding: 5px 0;">                            <input maxlength="20" style="max-width:calc(100% - 20px);width: 100%;height: 32px;" type="text" ng-model="item.value" />                        </td>                        <td valign="top" style="width:50%; padding: 5px 0;">                            <div>                                <div style="height: 27px;border: 1px solid #EBEBEB;margin-right: 10px;margin-bottom: 3px;padding-top: 3px;padding-left: 10px;">                                    <!--操作按钮 数字/文本 复选框-->                                    <div class="lc-checkbox" style="float:left;">                                        <input id="ck_number_{{item.fieldCode}}" type="checkbox" name="ck_number_{{item.fieldCode}}" class="k-checkbox" ng-checked="item.optionData.inputType==\'number\'" ng-click="onInputTypeChanged(item.optionData,\'number\')">                                        <label class="k-checkbox-label" style="margin-bottom: 2px;line-height: 16px;font-size: 13px;font-weight: normal;" for="ck_number_{{item.fieldCode}}">数字</label>                                    </div>                                    <div class="lc-checkbox" style="float:left;margin-left:20px;">                                        <input id="ck_string_{{item.fieldCode}}" type="checkbox" name="ck_string_{{item.fieldCode}}" class="k-checkbox" ng-checked="item.optionData.inputType==\'string\'" ng-click="onInputTypeChanged(item.optionData,\'string\')">                                        <label class="k-checkbox-label" style="margin-bottom: 2px;line-height: 16px;font-size: 13px;font-weight: normal;" for="ck_string_{{item.fieldCode}}">文字</label>                                    </div>                                    <!--操作按钮 上移/下移/删除-->                                    <div style="float:right;margin-right:5px;width: 150px;">                                        &nbsp;&nbsp;<i ng-click="onChildMoveDown(item,$index)" class="glyphicon glyphicon-arrow-down" style="cursor:pointer;color:#00A6C9;"></i>                                        &nbsp;&nbsp;<i ng-click="onChildMoveUp(item,$index)" class="glyphicon glyphicon-arrow-up" style="cursor:pointer;color:#00A6C9;"></i>                                        &nbsp;&nbsp;<i ng-click="onChildRemove(item)" class="glyphicon glyphicon-trash" style="cursor:pointer;color:#00A6C9;"></i>                                    </div>                                </div>                                <div ng-show="item.optionData.inputType==\'number\'" style="background-color:#F3F7F7;border: 1px solid #EBEBEB;margin-right: 10px;border-top:none;">                                    <div style="padding:5px;">                                        <span style="margin-left:14px;">最大值</span> <input style="width: 100px;height: 32px;" type="number" ng-model="item.optionData.max" />&nbsp;&nbsp;                                        <span style="margin-left: 30px;">最小值</span> <input style="width: 100px;height: 32px;" type="number" ng-model="item.optionData.min" />                                    </div>                                    <div style="padding:5px;">                                        <span>最小单位</span> <input style="width: 100px;height: 32px;" type="number" ng-model="item.optionData.step" min="1" />                                    </div>                                </div>                            </div>                        </td>                    </tr>                    <tr>                        <td colspan="2">                            <button type="button" class="add-child-btn" ng-click="addChild()"><i class="glyphicon glyphicon-plus-sign"></i>&nbsp;添加选项</button>                        </td>                    </tr>                </table>            </td>        </tr>        <tr style="height: 70px;">            <td class="label-name-td"></td>            <td style="text-align: left;">                <button type="button" ng-click="onSave()" class="save-btn">保存</button>                <button type="button" ng-click="reset()" class="reset-btn">重置</button>                <button type="button" ng-click="onClose()" class="del-btn">取消</button>            </td>        </tr>    </table>    <!--编辑模式end--></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/component-library-textarea-view.html','<div class="component-library-textarea-box component-common-style">    <!--查看模式-->    <div ng-hide="ngModel.isEditMode" style="padding: 4px 10px;">        <div ng-hide="isHideEditBtn" ng-click="onEdit()"             style="cursor:pointer;background-color: rgba(43,56,80,0.80);height: 30px;width: 30px;position: absolute;right: 30px;color: #FFFFFF;line-height: 30px;text-align: center;">            <i class="glyphicon glyphicon-pencil"></i>        </div>        <div>            <span style="font-size: 14px; color: #2E4050;">{{ngModel.fieldName || \'多行文本框\'}}</span>            <div style="padding:10px 0;">                <textarea class="common-input"                          style="width: 816px; height: 60px; border: 1px solid #CFDBDD; padding: 7px 10px;"                          ng-bind="ngModel.defaultValue"                          placeholder="{{ngModel.placeholder || \'请输入...\'}}">                </textarea>            </div>        </div>    </div>    <!--编辑模式-->    <div class="content-table" ng-show="ngModel.isEditMode">        <div class="content-table-title">多行文本框</div>        <div class="content-table-row clearfix">            <div class="pull-left item-title"><i style="color: #f00; padding: 5px;">*</i>标题</div>            <div class="pull-left">                <textarea class="common-input"                          id="field_name_{{ngModel.fieldCode}}"                          style="width: 816px; height: 60px; border: 1px solid #CFDBDD; padding: 7px 10px;"                          ng-bind="ngModel.fieldName"                          placeholder="{{ngModel.placeholder || \'请输入...\'}}">                </textarea>                <div class="content-table-btns">                    <button type="button" ng-click="onSave()" class="save-btn">保存</button>                    <button type="button" ng-click="reset()" class="reset-btn">重置</button>                    <button type="button" ng-click="onClose()" class="del-btn">取消</button>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/component-library-upload-view.html','<div class="component-library-radio-box component-common-style">    <!--查看模式start-->    <div ng-hide="ngModel.isEditMode" style="padding: 4px 10px;">        <div ng-hide="isHideEditBtn" ng-click="ngModel.isEditMode=true;"             style="cursor:pointer;background-color: rgba(43,56,80,0.80);height: 30px;width: 30px;position: absolute;right: 30px;color: #FFFFFF;line-height: 30px;text-align: center;margin-right: 10px;">            <i class="glyphicon glyphicon-pencil"></i>        </div>        <div>            <span style="font-size: 14px; color: #2E4050;">{{ngModel.fieldName || \'上传图片\'}}</span>            <div style="padding:10px 0;" class="clearfix">                <div style="float:left;margin:0 0 5px 10px;text-align:center;">                    <div style="width:180px;height:120px;border: 1px solid #E3E3E3;border-radius: 4px;text-align:center;padding-top: 25px;">                        <i class="icon-cloud-upload" style="color:#00A6C9;font-size:35px;"></i>                        <div style="font-size: 13px;">上传图片</div>                    </div>                    <span>{{item.value}}</span>                </div>            </div>        </div>    </div>    <!--查看模式end-->    <!--编辑模式start-->    <table class="content-table" ng-show="ngModel.isEditMode">        <tr><td colspan="2"><div class="content-table-title">上传图片</div></td></tr>        <tr class="content-table-tr">            <td class="label-name-td">                <span ng-show="ngModel.inputType==fieldInputType.NamedPictureUploader" class="color-red">*</span>                <span style="margin-right: 10px;">标题</span>            </td>            <td>                <input type="text" class="common-input form-control" ng-model="ngModel.oldName">            </td>        </tr>        <tr class="content-table-tr">            <td class="label-name-td"></td>            <td>                <div style="float:left;margin:0 0 5px 10px;text-align:center;">                    <div style="width:180px;height:120px;border: 1px solid #E3E3E3;border-radius: 4px;text-align:center;padding-top: 25px;">                        <i class="icon-cloud-upload" style="color:#00A6C9;font-size:35px;"></i>                        <div style="font-size: 13px;">上传图片</div>                    </div>                </div>            </td>        </tr>        <tr style="height: 70px;">            <td class="label-name-td"></td>            <td>                <button type="button" ng-click="onSave()" class="save-btn">保存</button>                <button type="button" ng-click="reset()" class="reset-btn">重置</button>                <button type="button" ng-click="onClose()" class="del-btn">取消</button>            </td>        </tr>    </table>    <!--编辑模式end--></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/emr-template-layout-field-tree/emr-template-layout-field-tree-view.html','<div class="emr-template-layout-field-tree-view">    <ul class="root-group-list">        <li class="root-group-item" ng-repeat="layoutField in layoutFields">            <div class="root-group-item-box">                <div class="item-title" ng-click="onCategoryItemClick(layoutField,$event)">                    <span>                        <i style="font-size: 10px;" class="glyphicon" ng-class="{ \'glyphicon-triangle-bottom\':layoutField.isOpenChilds,\'glyphicon-triangle-right\':!layoutField.isOpenChilds}"></i>                        {{layoutField.fieldName}}                    </span>                </div>                <div class="item-btn-box">                    <span style="color: #EBEBEB;">|</span>                    <span style="font-size: 13px;color: #00A6C9;" ng-click="addLayooutField(layoutField,$event)">新增</span>                </div>            </div>            <div class="root-group-child-box" ng-show="layoutField.isOpenChilds">                <ul>                    <li ng-repeat="child in layoutField.subFields">                        <table class="child-item" ng-class="{\'child-item-active\':child.isActive}" ng-mouseover="onChildItemMouseover(child,$event)" ng-mouseleave="onChildItemMouseleave(child,$event)">                            <tr style="border-right: 3px solid;" ng-style="{\'border-right-color\':child.isActive?\'#00a6c9\':\'#fff\'}">                                <td style="text-align:right;" ng-style="{\'width\':(child.inputType == fieldInputType.Group)?\'38px\':\'25px\'}">                                    <i ng-click="onChildItemClick(child,$event)" ng-if="child.inputType == fieldInputType.Group" style="font-size: 10px;margin-right: 4px;" class="glyphicon" ng-class="{ \'glyphicon-triangle-bottom\':child.isOpenChilds,\'glyphicon-triangle-right\':!child.isOpenChilds}"></i>                                </td>                                <td>                                    <div ng-if="child.isDefault" ng-click="onChildItemClick(child,$event)">                                        <span>{{child.fieldName|emrTemplateFieldsStr}}</span>                                        <i  ng-click="copyChildItem(child,layoutField,$event)" class="iconfont icon-copy_" title="复制" ng-show="child.isActive" style="font-size: 13px;float:right;padding-right:10px;"></i>                                    </div>                                    <div ng-show="!child.isEdit" ng-if="!child.isDefault">                                        <div style="width:calc(100% - 100px);float: left;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;" ng-dblclick="onChildItemDblclick(child,$event)" ng-click="onChildItemClick(child,$event)">                                        <span>{{child.fieldName}}</span>                                        </div>                                        <i ng-click="removeChildItem(child,layoutField,$event)" class="iconfont icon-shanchu" title="删除" ng-show="child.isActive || child.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                        <i ng-click="copyChildItem(child,layoutField,$event)" class="iconfont icon-copy_" title="复制" ng-show="child.isActive || child.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                        <i ng-click="showAddComponentDialog(child,$event)" class="iconfont icon-zengjiajiahao" title="新增组" ng-if="child.inputType==fieldInputType.Group" ng-show="child.isActive || child.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                        <i ng-click="showPreviewDialog(child,$event)" class="iconfont icon-chakan" title="预览" ng-show="child.isActive || child.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                    </div>                                    <!--添加控件  start-->                                    <div class="all-component-box" ng-show="child.isShowAddComponentDialog">                                        <div class="jiantou"></div>                                        <div class="lc-checkbox" style="float:left;width:145px;padding-left: 20px;color:#575D6A;" ng-repeat="component in child.components">                                            <input id="ck_number_{{child.fieldCode}}_{{component.fieldCode}}" type="checkbox" name="ck_number_{{child.fieldCode}}_{{component.fieldCode}}" ng-model="component.isCheckd" class="k-checkbox">                                            <label class="k-checkbox-label" style="margin-bottom: 2px;line-height: 16px;font-size: 13px;font-weight: normal;" for="ck_number_{{child.fieldCode}}_{{component.fieldCode}}">{{component.name}}</label>                                        </div>                                        <div style="height:30px;line-height:30px; border-top: 1px solid #EBEBEB;clear:both;">                                            <span style="float:left;margin-left: 20px;" ng-click="onAddComponents(child,$event)">确认添加</span>                                            <span style="float:right;margin-right: 20px;color:#575D6A;" ng-click="onCloseComponentDialog(child,$event)">取消</span>                                        </div>                                    </div>                                    <!--添加控件  end-->                                    <div style="border:1px solid #00A6C9;background-color:#FFFFFF;margin-right: 2px;" class="clearfix" ng-if="child.isEdit">                                        <input maxlength="20" style="float:left;height: 28px;border:none;width: calc(100% - 65px);padding-left:5px;" type="text" placeholder="{{child.fieldName}}" ng-model="child.newFieldName" />                                        <div ng-click="closeGroupToChild(child,$event)" class="child-edit-close-btn">                                            <i class="glyphicon glyphicon-remove"></i>                                        </div>                                        <div ng-click="addGroupToChild(child,$event)" class="child-edit-ok-btn">                                            <i class="glyphicon glyphicon-ok"></i>                                        </div>                                    </div>                                </td>                            </tr>                        </table>                        <div ng-show="child.isOpenChilds">                            <ul>                                <li ng-repeat="item in child.subFields">                                    <table class="child-item" ng-class="{\'child-item-active\':item.isActive}" ng-mouseover="onChildItemMouseover(item,$event)" ng-mouseleave="onChildItemMouseleave(item,$event)" >                                        <tr style="border-right: 3px solid;" ng-style="{\'border-right-color\':item.isActive?\'#00a6c9\':\'#fff\'}">                                            <td style="text-align:right;" ng-style="{\'width\':item.inputType == fieldInputType.Group?\'50px\':\'37\'}">                                                <i ng-click="onChildItemClick(item,$event)" ng-if="item.inputType== fieldInputType.Group" style="font-size: 10px;margin-right: 3px;" class="glyphicon" ng-class="{ \'glyphicon-triangle-bottom\':item.isOpenChilds,\'glyphicon-triangle-right\':!item.isOpenChilds}"></i>                                            </td>                                            <td>                                                <div ng-show="!item.isEdit" ng-if="!item.isDefault">                                                    <div style="width:calc(100% - 100px);float: left;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;" ng-dblclick="onChildItemDblclick(item,$event)" ng-click="onChildItemClick(item,$event)">                                                        <span>{{item|toComponentDefaultName}}</span>                                                    </div>                                                    <i ng-click="removeChildItem(item,child,$event)" class="iconfont icon-shanchu" title="删除" ng-show="item.isActive || item.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                                    <!--<i class="iconfont icon-copy_" title="复制" ng-show="item.isActive" style="font-size: 13px;float:right;padding-right:10px;"></i>-->                                                    <i ng-click="onMoveUp(item,child,$event)" class="iconfont icon-shangsheng" title="上移" ng-show="item.isActive || item.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                                    <i ng-click="onMoveDown(item,child,$event)" class="iconfont icon-xiajiang" title="下移" ng-show="item.isActive || item.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                                    <i ng-click="showAddComponentDialog(item,$event,true)" class="iconfont icon-zengjiajiahao" title="新增" ng-show="item.isActive || item.isShowBtn" ng-if="item.inputType==fieldInputType.Group" style="font-size: 13px;float:right;padding-right:10px;"></i>                                                </div>                                                <!--添加控件  start-->                                                <div class="all-component-box" style="margin-left: -50px;" ng-show="item.isShowAddComponentDialog">                                                    <div class="jiantou"></div>                                                    <div class="lc-checkbox" style="float:left;width:145px;padding-left: 20px;color:#575D6A;font-size:13px;" ng-repeat="component in item.components">                                                        <input id="ck_number_{{item.fieldCode}}_{{component.fieldCode}}" type="checkbox" name="ck_number_{{item.fieldCode}}_{{component.fieldCode}}" ng-model="component.isCheckd" class="k-checkbox">                                                        <label class="k-checkbox-label" style="margin-bottom: 2px;line-height: 16px;font-size: 13px;font-weight: normal;" for="ck_number_{{item.fieldCode}}_{{component.fieldCode}}">{{component.name}}</label>                                                    </div>                                                    <div style="height:30px;line-height:30px; border-top: 1px solid #EBEBEB;clear:both;">                                                        <span style="float:left;margin-left: 20px;" ng-click="onAddComponents(item,$event)">确认添加</span>                                                        <span style="float:right;margin-right: 20px;color:#575D6A;" ng-click="onCloseComponentDialog(item,$event)">取消</span>                                                    </div>                                                </div>                                                <!--添加控件  end-->                                                <div style="border:1px solid #00A6C9;background-color:#FFFFFF;margin-right: 2px;" class="clearfix" ng-if="item.isEdit">                                                    <input maxlength="20" style="float:left;height: 28px;border:none;width: calc(100% - 65px);padding-left:5px;" type="text" placeholder="{{item.fieldName}}" ng-model="item.newFieldName" />                                                    <div ng-click="closeGroupToChild(item,$event)" class="child-edit-close-btn">                                                        <i class="glyphicon glyphicon-remove"></i>                                                    </div>                                                    <div ng-click="addGroupToChild(item,$event)" class="child-edit-ok-btn">                                                        <i class="glyphicon glyphicon-ok"></i>                                                    </div>                                                </div>                                            </td>                                        </tr>                                    </table>                                    <div ng-show="item.isOpenChilds">                                        <ul>                                            <li style="padding-left: 50px;height:39px;"  ng-mouseover="onChildItemMouseover(itemChild,$event)" ng-mouseleave="onChildItemMouseleave(itemChild,$event)" ng-repeat="itemChild in item.subFields" ng-class="{\'child-item-active\':itemChild.isActive}">                                                <table class="child-item" ng-class="{\'child-item-active\':itemChild.isActive}">                                                    <tr style="border-right: 3px solid;" ng-style="{\'border-right-color\':itemChild.isActive?\'#00a6c9\':\'#fff\'}">                                                        <td>                                                            <div ng-if="!itemChild.isEdit" class="clearfix">                                                                <div style="width:calc(100% - 100px);float: left;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;" ng-dblclick="onChildItemDblclick(itemChild,$event)" ng-click="onChildItemClick(itemChild,$event)">                                                                    <span>{{itemChild|toComponentDefaultName}}</span>                                                                </div>                                                                <i ng-click="removeChildItem(itemChild,item,$event)" class="iconfont icon-shanchu" title="删除2" ng-show="itemChild.isActive || itemChild.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                                                <!--<i class="iconfont icon-copy_" title="复制" ng-show="itemChild.isActive" style="font-size: 13px;float:right;padding-right:10px;"></i>-->                                                                <i ng-click="onMoveUp(itemChild,item,$event)" class="iconfont icon-shangsheng" title="上移" ng-show="itemChild.isActive || itemChild.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                                                <i ng-click="onMoveUp(itemChild,item,$event)" class="iconfont icon-xiajiang" title="下移" ng-show="itemChild.isActive || itemChild.isShowBtn" style="font-size: 13px;float:right;padding-right:10px;"></i>                                                            </div>                                                            <div style="border:1px solid #00A6C9;background-color:#FFFFFF;margin-right: 2px;margin-top: 5px;" class="clearfix" ng-if="itemChild.isEdit">                                                                <input maxlength="20" style="float:left;height: 28px;border:none;width: calc(100% - 65px);padding-left:5px;" type="text" placeholder="{{itemChild.fieldName}}" ng-model="itemChild.newFieldName" />                                                                <div ng-click="closeGroupToChild(itemChild,$event)" class="child-edit-close-btn">                                                                    <i class="glyphicon glyphicon-remove"></i>                                                                </div>                                                                <div ng-click="addGroupToChild(itemChild,$event)" class="child-edit-ok-btn">                                                                    <i class="glyphicon glyphicon-ok"></i>                                                                </div>                                                            </div>                                                        </td>                                                    </tr>                                                </table>                                            </li>                                        </ul>                                    </div>                                </li>                            </ul>                        </div>                    </li>                </ul>            </div>        </li>    </ul></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/sys-common-component/sys-common-dropdown-component-view.html','<div class="component-library-input-box component-common-style">    <div>        <div style="text-align: left;padding: 4px 10px;">            <span style="font-size: 14px; color: #2E4050;">{{ngModel.fieldName|emrTemplateFieldsStr}}</span>            <div style="padding:10px 0;">                <input type="text" class="form-control" style="max-width:600px;width:600px;" id="archive">            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/sys-common-component/sys-common-input-component-view.html','<div class="component-library-input-box component-common-style">    <div>        <div style="text-align: left; padding: 4px 10px;">            <span style="font-size: 14px; color: #2E4050;">{{ngModel.fieldName|emrTemplateFieldsStr}}</span>            <div style="padding:10px 0;">                <textarea rows="2" class="common-input" ng-bind="ngModel.defaultValue" placeholder="{{ngModel.placeholder}}"></textarea>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/emr-template-config/child-components/sys-common-component/sys-common-tooth-component-view.html','<div class="component-library-input-box component-common-style">    <div>        <div style="text-align: left;padding: 4px 10px;">            <span style="font-size: 14px; color: #2E4050;">{{ngModel.fieldName|emrTemplateFieldsStr}}</span>            <div style="padding:10px 0;">                <div style="border: 1px solid #EBEBEB;padding:5px 0 5px 5px;width:600px;" class="clearfix">                    <div style="float:left;margin-right: 5px;">                        <div style="height:40px;width:50px;border-right:1px solid #00A6C9;"></div>                        <div style="height:1px;width:100px;margin-top: -20px;border-bottom:1px solid #00A6C9;"></div>                    </div>                    <textarea rows="2" style="border:none;border-left:1px solid #EBEBEB;float:left;width:485px;resize:none;padding-left: 5px;" class="common-input" ng-bind="ngModel.defaultValue" placeholder="{{ngModel.placeholder}}"></textarea>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/payment-type/practice-payment-type-new-view.html','<div class="row">    <div ng-if="isShowUpgradeCompleteInfo"         style="padding: 5px;margin:0px;background: #FDF1D4;"         class="enyo-bg-warning enyo-text-black">        <i class="iconfont icon-chenggong"           style="float:left;height:70px;width:50px; color:#f7a51d; font-size:40px;">        </i>        <p style="margin:0px;font-size:14px;">            恭喜您已成功升级支付方式配置，解锁了新的报表体系！            <a style="color:#00A6C9;" ng-click="switchToFinanceReport()">立即查看</a>        </p>    </div>    <button class="btn btn-default btn-wide"            style="float:left;margin-left:5px;border:none;width:110px;clear:left;"            ares-hide-when-parent="ChargeItem"            ng-show="isUpgradeComplete && !isInitUpgraded && !isForceNewReportEnabled"            ng-click="switchPage()">        旧版支付方式配置    </button>    <button class="btn btn-default btn-wide"            ares-hide-when-parent="ChargeItem"            ng-if="isCreateCategoryEnabled"            ng-click="createOrEditPaymentTypeCategory($event)"            style="float:right;">        新增支付类型    </button>    <button class="btn btn-primary btn-wide"            ares-hide-when-parent="ChargeItem"            ng-if="isCreatePaymentTypeEanbled"            ng-click="createOrEditPaymentType()"            style="float:right;">        新增支付方式    </button></div><div class="enyo-kendo-grid-wrapper" id="payment-type-config-new">    <div class="k-grid">        <div class="k-grid-header" style="width:100%;margin-top:2px;">            <table>                <thead>                    <tr>                        <th style="width:13%">编码</th>                        <th style="width:13%">名称</th>                        <th style="width:25%">备注</th>                        <th style="width:11%">启用</th>                        <th style="width:11%">                            消费账单                            <span class="iconfont icon-xinxi"                                  title="包含普通诊疗消费账单及诊疗预付&#10类型账单（划扣项目收费账单）&#10"                                  tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                        </th>                        <th style="width:11%">                            预付收费                            <span class="iconfont icon-xinxi"                                  title="包含会员卡/储值卡充值、现金券&#10;销售、不记名卡销售及其他可按使&#10;用次数分摊成本的卡券销售&#10"                                  tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            <!--<i class="iconfont icon-xinxi"></i>-->                        </th>                        <th style="width:10%" ares-hide-when-parent="ChargeItem" ng-if="hasEditPermission">操作</th>                        <th></th>                    </tr>                </thead>            </table>        </div>    </div>    <div id="payment-type-list-new">        <div ng-repeat="category in paymentTypeCategories">            <div class="type-tag">                <span ng-class="category.isShowPaymentTypes?\'k-plus\':\'k-minus\'"></span>                <a class="category-name" style="color: black;" ng-click="showOrHideCategoryPaymentTypes(category)">                    {{category.name}}类型                </a>                <div style="margin-left: 73%;margin-top:-20px; padding-left: 25px;">                    <button class="btn icon-btn btn-light-blue btn-xs"                            ares-hide-when-parent="ChargeItem"                            ng-if="!category.isDefault"                            ng-click="createOrEditPaymentTypeCategory($event, category)">                        <i class="iconfont icon-bianji"></i>                    </button>                    <button class="btn icon-btn btn-light-yellow btn-xs"                            ares-hide-when-parent="ChargeItem"                            ng-if="!category.isDefault"                            ng-click="deletePaymentTypeCategory(category)">                        <i class="iconfont icon-shanchu"></i>                    </button>                    <a style="display: inline-block; margin-top:2px;"                       ng-click="createOrEditPaymentTypeCategory($event, category, true)">查看类型说明</a>                </div>            </div>            <div ng-show="category.isShowPaymentTypes">                <practice-payment-type-group-view payment-types="category.paymentTypes"                                                  has-edit-permission="hasEditPermission"                                                  is-edit-enabled="isEditEnabled"                                                  edit-payment-type-method="createOrEditPaymentType"                                                  is-delete-enabled="isDeleteEnabled"                                                  delete-payment-type-method="deletePaymentType"                                                  switch-payment-type-enabled="switchPaymentTypeEnabled"                                                  hidden-paytype-names="integratePaytypeNames"></practice-payment-type-group-view>                <div style="margin-top: -10px;" ng-if="category.name == \'现金类实收\' && integratePayTypeCategory && integratePayTypeCategory.isShow">                    <div class="type-tag" style="background-color:aliceblue; padding-left:50px;">                        <span ng-class="integratePayTypeCategory.isExpand?\'k-plus\':\'k-minus\'"></span>                        <a class="category-name" style="color: black;" ng-click="integratePayTypeCategory.isExpand=!integratePayTypeCategory.isExpand">                            聚合支付收银                        </a>                    </div>                    <div ng-show="integratePayTypeCategory.isExpand">                        <practice-payment-type-group-view payment-types="integratePayTypeCategory.paymentTypes"                                                          has-edit-permission="hasEditPermission"                                                          is-edit-enabled="isEditEnabled"                                                          edit-payment-type-method="createOrEditPaymentType"                                                          is-delete-enabled="isDeleteEnabled"                                                          delete-payment-type-method="deletePaymentType"                                                          switch-payment-type-enabled="switchPaymentTypeEnabled"></practice-payment-type-group-view>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/practice/views/payment-type/practice-payment-type-old-view.html','<div id="payment-type-config-table">   <!-- <div id="payment-type-upgrade-info"         style="padding: 5px;margin:0px;background: #FDF1D4;"         class="enyo-bg-warning enyo-text-black"         ng-if="isShowUpgradeHint">        <div>            <p class="info-title">                点击“开始升级”按钮更新您的支付方式配置，体验新的财务中心报表。            </p>        </div>        <div style="font-size:13px;line-height: 20px;">            <a class="iconfont icon-jinggao enyo-text-warning" style="float:left;margin-right:5px;font-size:13px;line-height: 20px;"></a>            <p class="info-context" style="margin-bottom:5px;margin-left:0px;">                常见问题：升级后会有哪些变化？            </p>            <span class="info-context">                1. 在新财务中心报表中，收费单金额和业绩金额会依赖新的支付方式配置统计；            </span><br />            <span class="info-context">                2. 当前财务月期间产生的报表数据将实时发生变化（财务月可在：<strong>系统配置-诊所配置-收费</strong> 里设置） ；             </span><br />            <span class="info-context">                3. 新的支付方式配置将只影响到新的报表体系，不会影响原有报表；            </span><br />            <span class="info-context">                4. 在新版本中预设了e看牙已经对接好的支付渠道，如微信支付、支付宝、汇付小白盒等，开通支付服务后无须再自行设置；            </span><br />            <span class="info-context">                5. 升级过程被中断后，重新登录可以继续上一次未完成的配置；            </span><br />            <span class="info-context">                6. 只支持对新的支付方式配置进行编辑（新增/删除/修改），原有的支付方式配置将不可再编辑；            </span><br />            <span class="info-context">                7. 升级过程建议在会计人员的指导下进行。            </span><br />            <button ng-click="startUpgradePaymentTypes()">开始升级</button>        </div>    </div> -->   <div class="row">        <button class="btn btn-default btn-wide"                style="float:left;margin-left:5px;border:none;width:110px;clear:left;"                ares-hide-when-parent="ChargeItem"                ng-show="!isUpgradeComplete && !isUpgradeUnstart && isForceNewReportEnabled"                ng-click="switchPage()">            支付方式升级        </button>        <button class="btn btn-default btn-wide"                style="float:left;margin-left:5px;border:none;width:110px;clear:left;"                ares-hide-when-parent="ChargeItem"                ng-show="isUpgradeComplete && !isInitUpgraded"                ng-click="switchPage()">            新版支付方式配置        </button>        <div id="payment-type-config-action" ng-show="isCreateEnabled">            <button class="btn btn-default" ng-click="addPaymentType()" ares-hide-when-parent="ChargeItem">新增项目</button>        </div>    </div>    <div style="padding-right: 10px; background-color: #f5f5f5; margin-top:5px;">        <table>            <thead>                <tr>                    <th style="width:13%">编码</th>                    <th style="width:13%">名称</th>                    <th style="width:15%">备注</th>                    <th style="width:5%">启用</th>                    <th style="width:16%">收费账单</th>                    <th style="width:16%">储值卡充值</th>                    <th style="width:16%">卡券发售</th>                    <th style="width:6%;min-width:100px;" ares-hide-when-parent="ChargeItem" ng-if="hasEditPermission">操作</th>                </tr>            </thead>        </table>    </div>    <div style="overflow-x: auto; overflow-y: scroll; border-bottom: 2px solid #00a7c6" id="list-body">        <table>            <tbody>                <tr ng-repeat="payment in paymentTypes" ng-class="payment.selected? \'selected\':\'\'" ng-click="selectPaymentType(payment,$index)">                    <td style="width:13%">                        <practice-payment-type-name-view payment-type="payment"                                                         update-payment-type-promise="updatePaymentTypePromise"                                                         on-payment-type-edit="onPaymentTypeEdit"                                                         on-complete-payment-type-edit="onCompletePaymentTypeEdit"                                                         propertory-name="code"                                                         refresh-method="getPaymentTypes"                                                         is-edit-allowed="isEditEnabled(payment)">                        </practice-payment-type-name-view>                    </td>                    <td style="width:13%">                        <practice-payment-type-name-view payment-type="payment"                                                         update-payment-type-promise="updatePaymentTypePromise"                                                         on-payment-type-edit="onPaymentTypeEdit"                                                         on-complete-payment-type-edit="onCompletePaymentTypeEdit"                                                         propertory-name="name"                                                         is-edit-allowed="isEditEnabled(payment) && !isDefaultType(payment)"                                                         default-payment-type-names="defaultPaymentTypeNames">                        </practice-payment-type-name-view>                    </td>                    <td style="width:15%">                        <practice-payment-type-name-view payment-type="payment"                                                         update-payment-type-promise="updatePaymentTypePromise"                                                         on-payment-type-edit="onPaymentTypeEdit"                                                         on-complete-payment-type-edit="onCompletePaymentTypeEdit"                                                         propertory-name="notes"                                                         refresh-method="getPaymentTypes"                                                         is-edit-allowed="isEditEnabled(payment)">                        </practice-payment-type-name-view>                    </td>                    <td style="width:5%">                        <div class="enabled-config">                            <a style="margin-left: 5px; display: inline-block; margin-top: 3px; vertical-align: middle;"                               ng-click="switchPaymentTypeEnabled(payment)" ares-disable-when-parent="ChargeItem">                                <i ng-class="payment.isDisabled? \'switch off\':\'switch on\'"></i>                            </a>                        </div>                    </td>                    <td style="width:16%">                        <practice-payment-type-config-view payment-type-config="payment.paymentTypeConfigs[0]"                                                           update-payment-type-config-promise="updatePaymentTypeConfigPromise"                                                           is-enable-gift-card="isEnableGiftCard"                                                           is-edit-allowed="isEditEnabled"                                                           on-enable-changed="onEnableChanged"                                                           payment-type="payment">                        </practice-payment-type-config-view>                    </td>                    <td style="width:16%">                        <practice-payment-type-config-view payment-type-config="payment.paymentTypeConfigs[1]"                                                           update-payment-type-config-promise="updatePaymentTypeConfigPromise"                                                           is-enable-gift-card="isEnableGiftCard"                                                           is-edit-allowed="isEditEnabled"                                                           on-enable-changed="onEnableChanged"                                                           payment-type="payment">                        </practice-payment-type-config-view>                    </td>                    <td style="width:16%">                        <practice-payment-type-config-view payment-type-config="payment.paymentTypeConfigs[2]"                                                           update-payment-type-config-promise="updatePaymentTypeConfigPromise"                                                           is-enable-gift-card="isEnableGiftCard"                                                           is-edit-allowed="isEditEnabled"                                                           payment-type="payment">                        </practice-payment-type-config-view>                    </td>                    <td style="width:6%;text-align:center;min-width:100px;" ares-hide-when-parent="ChargeItem" ng-if="hasEditPermission">                        <a ng-if="isDeleteEnabled(payment)"                           ng-click="deletePaymentType(payment)">                            <i class="pay-icon delete"></i>                        </a>                        <div style="display: inline-block; margin-top: 8px;" ng-hide="payment.id">                            <a class="pay-btn confirm" ng-click="saveFullPaymentType(payment)"></a>                            <a class="pay-btn cancel" ng-click="cancelSaveFullPaymentType($index)"></a>                        </div>                    </td>                </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/practice/views/payment-type/practice-payment-type-upgrade-view.html','<div id="payment-type-upgrade" class="enyo">    <style type="text/css">        #payment-type-upgrade .text-info {            font-family: PingFangSC-Regular;            font-size: 13px;            color: #3D3D3D;            letter-spacing: 0;        }        #payment-type-upgrade #payment-type-config-new .k-grid .k-grid-header {            height: 32px;            padding-top: 7px;            margin-top: 10px;        }            #payment-type-upgrade #payment-type-config-new .k-grid .k-grid-header th {                text-align: center;                color: #FFFFFF;                font-size: 13px;            }        #payment-type-upgrade #payment-type-config-new .payment-type-table {            width: 100%;            margin-bottom: 5px;        }            #payment-type-upgrade #payment-type-config-new .payment-type-table tr {                border: 1px solid #CFDBDD;                font-size: 13px;                color: #575D6A;                text-align: center;                height: 38px;            }        #payment-type-upgrade .report-info-tag {            width: 80px;            text-align: center;            float: left;            min-height: 50px;            vertical-align: middle;        }        #payment-type-upgrade .report-info-tag-white {            width: 80px;            text-align: center;            background-color: white;            float: left;            padding: 0px 0px 10px 0px;        }        #payment-type-upgrade .report-info-title {            float: left;            width: 100px;            text-align: right;            font-size: 12px;        }        #payment-type-upgrade .enable-payment-title {            font-family: PingFangSC-Medium;            font-size: 12px;            margin-bottom: 5px;        }        #payment-type-upgrade .payment-tag {            font-family: PingFangSC-Medium;            font-size: 10px;            letter-spacing: 0;            width: 70px;            display: block;            margin-left: 5px;            height: 20px;            padding-top: 3px;        }        #payment-type-upgrade .cash-payment-tag {            color: #F7871D;            background: #FEF6E8;        }        #payment-type-upgrade .advance-payment-tag {            color: #00A6C9;            background: #E5F6F9;        }        #payment-type-upgrade .gift-payment-tag {            color: #FE7065;            background: rgba(255,75,61,0.10);        }        #payment-type-upgrade .border {            border: 1px solid #CFDBDD;        }        #payment-type-upgrade .advance-payment-info .info-title {            font-family: PingFangSC-Medium;            font-size: 14px;            color: #666A73;        }        #payment-type-upgrade .advance-payment-info .info-context {            font-family: PingFangSC-Regular;            font-size: 14px;            color: #666A73;            text-align: justify;            margin-bottom: 5px;        }        #payment-type-upgrade .upgrade-info-title {            padding: 10px;            margin: 0px;            background: #F1F3F7;            height: 38px;        }        #payment-type-upgrade .upgrade-warn-title {            margin: 5px 0px;            background-color: #FDF1D4;            height: 38px;            padding: 10px;        }    </style>    <div class="row" ng-if="isForceNewReportEnabled">        <button class="btn btn-default btn-wide"                style="float:left;margin-left:5px;border:none;width:110px;clear:left;"                ng-click="switchPage()">            旧版支付方式配置        </button>    </div>    <div class="upgrade-warn-title" ng-if="isForceNewReportEnabled">        <span class="text-info">            已自动为您完成默认支付方式的升级过程；“备注”一栏中标注为“自定义”的支付方式需要经过您的检查确认后，完成升级操作。        </span>        <button class="lc-btn lc-btn-orange" style="margin:-10px; height: 38px; float: right;"                ng-click="forceUpgrade()">            确认升级        </button>    </div>    <div class="upgrade-info-title" ng-if="!isForceNewReportEnabled">        <label class="text-info">升级支付方式</label>        <button ng-show="checkIsUpgradeComplete()"                class="btn btn-primary"                style="float:right;height:28px;margin-top:-5px;"                title="请点击“确认升级”完成此次升级"                tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"                ng-click="completeUpgrade()">            确认升级        </button>        <button class="btn btn-default"                style="float:right;height:28px;margin-top:-5px;border:none; color:black;background-color:#F1F3F7;"                ng-click="onCancelUpgradeHandler()">            取消升级        </button>    </div>    <div>        <div class="upgrade-warn-title" ng-if="!isForceNewReportEnabled">            <span class="text-info">                请对【升级待定】下的支付方式配置确认以完成升级。            </span>        </div>        <!--start:升级列表-->        <div style="width:55%;float:left;padding-right:10px;">            <div class="enyo-kendo-grid-wrapper" id="payment-type-config-new" style="margin-top:-10px;">                <div class="k-grid">                    <div class="k-grid-header" style="width:100%;">                        <table>                            <thead>                                <tr>                                    <th ng-style="{width:isForceNewReportEnabled?\'10%\':\'20%\'}">编码</th>                                    <th ng-style="{width:isForceNewReportEnabled?\'10%\':\'20%\'}">名称</th>                                    <th ng-style="{width:isForceNewReportEnabled?\'10%\':\'40%\'}">备注</th>                                    <th style="width: 11%;" ng-if="isForceNewReportEnabled">启用</th>                                    <th style="width: 11%;" ng-if="isForceNewReportEnabled">                                        消费账单                                        <span class="iconfont icon-xinxi"                                              title="包含普通诊疗消费账单及诊疗预付&#10类型账单（划扣项目收费账单）&#10"                                              tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                                    </th>                                    <th style="width: 11%;" ng-if="isForceNewReportEnabled">                                        预付收费                                        <span class="iconfont icon-xinxi"                                              title="包含会员卡/储值卡充值、现金券&#10;销售、不记名卡销售及其他可按使&#10;用次数分摊成本的卡券销售&#10"                                              tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                                        <!--<i class="iconfont icon-xinxi"></i>-->                                    </th>                                    <th ng-style="{width:isForceNewReportEnabled?\'10%\':\'20%\'}">操作</th>                                </tr>                            </thead>                        </table>                    </div>                </div>                <div id="payment-type-list-new">                    <div id="divUnknownTypes" class="type-tag type-tag-wait"                         ng-if="!isForceNewReportEnabled"                         ng-click="showOrHideUnknownPaymentTypes()">                        <span ng-class="isShowUnknownPaymentTypes?\'k-plus\':\'k-minus\'"></span>                        <span>升级待定</span>                    </div>                    <div ng-show="isShowUnknownPaymentTypes && !isForceNewReportEnabled">                        <table class="payment-type-table">                            <tbody>                                <tr ng-if="!unknownPaymentTypes || unknownPaymentTypes.length == 0">                                    <td colspan="4">                                        <i class="iconfont icon-chenggong"                                           style="padding-left:5px; float:left; color: #00A6C9;">                                        </i>                                        <label style="font-size:16px;float:left;">&nbsp;您已完成全部支付方式升级！</label>                                    </td>                                </tr>                                <tr ng-repeat="unnownPayentType in unknownPaymentTypes track by $index">                                    <td style="width:20%">{{unnownPayentType.code}}</td>                                    <td style="width:20%">{{unnownPayentType.name}}</td>                                    <td style="width:40%">{{unnownPayentType.notes}}</td>                                    <td style="width:20%">                                        <button class="btn btn-sm btn-warning" ng-click="upgradePaymentType(unnownPayentType)">                                            升级                                        </button>                                        <button class="btn btn-sm btn-default" ng-if="!unnownPayentType.isDefault"                                                ng-click="deletePaymentType(unnownPayentType)">                                            删除                                        </button>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                    <div ng-repeat="category in paymentTypeCategories">                        <div class="type-tag">                            <span ng-class="category.isShowPaymentTypes?\'k-plus\':\'k-minus\'" ng-click="showOrHideCategoryPaymentTypes(category)"></span>                            <a class="category-name" style="color: black;" ng-click="showOrHideCategoryPaymentTypes(category)">                                {{category.name}}                            </a>                            <a style="float:right;"                               ng-click="createOrEditPaymentTypeCategory($event, category, true)">查看类型说明</a>                        </div>                        <div ng-show="category.isShowPaymentTypes">                            <table class="payment-type-table">                                <tbody>                                    <tr ng-show="!category.paymentTypes || category.paymentTypes.length == 0">                                        <td colspan="6">                                            没有此类型的支付方式                                        </td>                                    </tr>                                    <tr ng-repeat="paymentType in category.paymentTypes track by $index">                                        <td ng-style="{width:isForceNewReportEnabled?\'10%\':\'20%\'}">{{paymentType.code}}</td>                                        <td ng-style="{width:isForceNewReportEnabled?\'10%\':\'20%\'}">{{paymentType.name}}</td>                                        <td ng-style="{width:isForceNewReportEnabled?\'10%\':\'40%\'}">                                            {{paymentType.warnNotes? paymentType.warnNotes:paymentType.notes}}                                        </td>                                        <td style="width: 11%;" ng-if="isForceNewReportEnabled" class="td-switch">                                            <div class="config-on-off config-on">                                                <input type="checkbox" class="enyo-checkbox-switcher"                                                       ng-checked="!paymentType.isDisabled">                                                <label class="enyo-checkbox-switcher-label"                                                       ng-click="switchPaymentTypeEnabled(paymentType)">                                                    &nbsp;                                                </label>                                            </div>                                        </td>                                        <td style="width: 11%;" ng-if="isForceNewReportEnabled">                                            <i ng-class="paymentType.isCommonChargeScenarioEnalbed?\'iconfont icon-queren ok-tag\':\'iconfont icon-quxiaotuichu cancel-tag\'"></i>                                        </td>                                        <td style="width: 11%;" ng-if="isForceNewReportEnabled">                                            <i ng-class="paymentType.isAdvanceChargeScenarioEnalbed?\'iconfont icon-queren ok-tag\':\'iconfont icon-quxiaotuichu cancel-tag\'"></i>                                        </td>                                        <td ng-style="{width:isForceNewReportEnabled?\'10%\':\'20%\'}">                                            <button class="btn btn-sm btn-primary" ng-click="editPaymentType(paymentType)">                                                编辑                                            </button>                                        </td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>            </div>        </div>        <!--end:升级列表-->        <!--start:报表规则描述-->        <div style="width:45%;float:left; min-height: 550px; background: #F1F3F7; border: 1px solid #CFDBDD;">            <div style="height:32px;border-bottom: 1px solid #CFDBDD;padding:5px;">                <span style="height:32px;font-weight:bold;">帮助说明</span>                <a href="https://lccs.kf5.com/hc/kb/article/1274723/"                   style="margin-right:10px;float:right;font-size:13px;">在线帮助</a>            </div>            <div style="padding:15px;">                财务报表模型定义            </div>            <div style="padding:15px 0px;">                <label class="report-info-title">现金流入 =&nbsp;</label>                <div class="report-info-tag">                    <div class="enyo-bg-primary report-info-tag" style="padding-top:5px;">                        <span class="enyo-text-white" style="font-size:11px;">诊疗收费</span><br />                        <span class="enyo-text-white" style="font-size:11px;">现金实收</span><br />                        <span class="enyo-text-white" style="font-size:10px;">(扣减收费单退款)</span>                    </div>                    <div class="report-info-tag-white">                        <span class="enable-payment-title">支付方式</span>                        <span class="payment-tag cash-payment-tag">现金类实收类型</span>                    </div>                </div>                <!--<label style="float:left;">&nbsp; + &nbsp;</label>                <div class="report-info-tag">                    <div class="enyo-bg-primary report-info-tag" style="padding-top:5px;">                        <span class="enyo-text-white" style="font-size:13px;">诊疗预收款</span><br />                        <span class="enyo-text-white" style="font-size:12px;">(扣减退款)</span>                    </div>                    <div class="report-info-tag-white">                        <span class="enable-payment-title">可用支付方式</span>                        <span class="payment-tag cash-payment-tag">现金类型</span>                    </div>                </div>-->                <label style="float:left;">&nbsp; + &nbsp;</label>                <div class="report-info-tag">                    <div class="enyo-bg-primary report-info-tag" style="min-height:65px; padding-top:15px;">                        <span class="enyo-text-white" style="font-size:11px;">储值卡充值金额</span><br />                        <span class="enyo-text-white" style="font-size:10px;">(扣减退款)</span>                    </div>                    <div class="report-info-tag-white">                        <span class="enable-payment-title">支付方式</span>                        <span class="payment-tag cash-payment-tag">现金类实收类型</span>                    </div>                </div>                <label style="float:left;">&nbsp; + &nbsp;</label>                <div class="report-info-tag">                    <div class="enyo-bg-primary report-info-tag" style="min-height:65px; padding-top:15px;">                        <span class="enyo-text-white" style="font-size:11px;">卡券销售金额</span><br />                        <span class="enyo-text-white" style="font-size:10px;">(扣减退款)</span>                    </div>                    <div class="report-info-tag-white">                        <span class="enable-payment-title">支付方式</span>                        <span class="payment-tag cash-payment-tag">现金类实收类型</span>                    </div>                </div>            </div>            <div style="clear:both; height:15px;"></div>            <div style="padding:0px;">                <label class="report-info-title">诊疗服务收入 =&nbsp;</label>                <div class="report-info-tag">                    <div class="enyo-bg-primary report-info-tag" style="padding-top:5px;">                        <span class="enyo-text-white" style="font-size:11px;">普通诊疗收费</span><br />                        <span class="enyo-text-white" style="font-size:11px;">实收金额</span><br />                        <span class="enyo-text-white" style="font-size:10px;">(扣减收费单退款)</span>                    </div>                    <div class="report-info-tag-white">                        <span class="enable-payment-title">可用支付方式</span>                        <span class="payment-tag cash-payment-tag">现金类实收类型</span>                        <span class="payment-tag advance-payment-tag" style="margin-top: 5px;">预收款使用类型</span>                        <span class="payment-tag advance-payment-tag" style="margin-top: 5px;">平台结算类型</span>                    </div>                    <div style="font-size: 10px;">                        注：普通诊疗收费单指不包含划扣项目的收费单                    </div>                </div>                <label style="float:left;">&nbsp; + &nbsp;</label>                <div class="report-info-tag">                    <div class="enyo-bg-primary report-info-tag" style="padding-top:5px; min-height: 65px;">                        <span class="enyo-text-white" style="font-size:11px;">诊疗账单</span><br />                        <span class="enyo-text-white" style="font-size:11px;">欠费金额</span>                    </div>                    <div style="font-size: 10px;">                        注：诊疗服务收入是否包含欠费金额可通过业务规则配置开关启用                    </div>                </div>                <label style="float:left;">&nbsp; + &nbsp;</label>                <div class="report-info-tag">                    <div class="enyo-bg-primary report-info-tag" style="padding-top:5px;">                        <span class="enyo-text-white" style="font-size:11px;">收费抵用卡券</span><br />                        <span class="enyo-text-white" style="font-size:11px;">财务收入</span><br />                        <span class="enyo-text-white" style="font-size:10px;">(按次分摊成本)</span>                    </div>                </div>                <label style="float:left;">&nbsp; + &nbsp;</label>                <div class="report-info-tag">                    <div class="enyo-bg-primary report-info-tag" style="padding-top:5px; width: 90px;">                        <span class="enyo-text-white" style="font-size:11px;">划扣收费执行</span><br />                        <span class="enyo-text-white" style="font-size:11px;">确认金额</span><br />                        <span class="enyo-text-white" style="font-size:10px;">(扣减划扣撤销确认)</span>                    </div>                </div>            </div>            <div style="clear:both;padding-top:10px;">                <div style="border-top: #00686b 1px dashed; overflow: hidden; height: 1px; margin: 10px 15px;"></div>            </div>            <div class="advance-payment-info" style="padding:0px 15px; clear:both;">                <label class="info-title">现金类实收类型：</label>                <p class="info-context">                    1. 现金类实收类型下的支付方式即现金等价物，如微信支付宝及银行卡账户支付，该类型支付方式可用于诊疗服务消费账单支付，支付金额计入当日现金流。是否计收入取决于诊所是否启用划扣设置，更多参考帮助中心说明；                </p>                <p class="info-context">                    2. 只有该类型下的支付方式可以用作预收类项目收费（如储值卡充值），且实收金额只计入现金流，不计入收入；                </p>                <p class="info-context">                    3. 对计销售成本但不可按次数分摊成本的卡券销售项目，采取一次性计入当日现金流和诊疗服务收入的方式，如不限使用次数的折扣卡等。                </p>                <label class="info-title" style="margin-top: 10px;">预收款使用类型：</label>                <p class="info-context">                    1. e看牙默认提供了以下几种预收款使用类型的支付方式：会员卡/储值卡充值本金、现金券本金、不记名卡本金 ；                </p>                <p class="info-context">                    2. 该类型支付方式可用于诊疗服务消费账单支付，支付金额计入诊疗服务收入，不再计入现金流；                </p>                <label class="info-title" style="margin-top: 10px;">支付优惠类型：</label>                <p class="info-context">                    1. e看牙默认提供了以下几种支付优惠类型的支付方式：会员积分、会员卡/储值卡充值馈赠金、不记名卡馈赠金；                </p>                <p class="info-context">                    2.  该类型支付方式可用于诊疗服务消费账单支付，支付金额计入当日销售总折扣金额，不计入现金流，也不计入诊疗服务收入，通过财务中心报表-卡券消耗报表可以统计历史营销费用支出；                </p>                <p class="info-context">                    3. 现金券销售折扣（馈赠金）、不可按使用次数分摊成本的卡券预收款销售折扣金额支付时无需手动选择，卡券消费抵用时将依据最新的项目价格自动计算销售折扣；                </p>                <label class="info-title" style="margin-top: 10px;">平台结算类型：</label>                <p class="info-context">                    如支付宝标品（e看牙默认），该类支付方式适用于平台方跟诊所T+n的结算类型，可通过财务中心报表-交易明细报表中的支付方式类型进行收入查询。                    该类型支付方式可用于诊疗服务消费账单支付，支付金额计入诊疗服务收入，不再计入现金流；                </p>            </div>        </div>        <!--end:报表规则描述-->    </div></div>');templateCache.put('/app/practice/views/payment-type/practice-payment-type-view.html','<div id="payment-type-config" class="enyo">    <style>        body.ares3 #payment-type-config {            height: 100%;            overflow-y: auto;            overflow-x: hidden;        }        #payment-type-config {            width: 100%;        }        #payment-type-config-action {            line-height: 35px;            text-align: right;        }            #payment-type-config-action .btn-default:hover {                color: #00a8cb;                border-color: #00a8cb;                background-color: white;            }        #payment-type-config-table table {            padding: 0;            width: 100%;            border: 1px solid #e3e3e3;        }        #payment-type-config-table {            margin-top: 5px;        }            #payment-type-config-table table thead tr {                line-height: 42px;                font-size: 14px;            }                #payment-type-config-table table thead tr th {                    font-weight: normal;                    text-align: center;                    border-right: 1px solid #e3e3e3;                }            #payment-type-config-table table tbody tr {                height: 72px;            }                #payment-type-config-table table tbody tr:hover,                #payment-type-config-table table tbody tr.selected {                    background: #eaf9ff;                }                #payment-type-config-table table tbody tr td {                    border-right: 1px solid #e3e3e3;                    border-bottom: 1px solid #e3e3e3;                }            #payment-type-config-table .pay-icon {                display: inline-block;                background-image: url(/Content/imgs/icon-approval.png);                background-size: 40px 140px;                width: 20px;                height: 20px;            }                #payment-type-config-table .pay-icon:hover {                    background-position-x: -20px;                }                #payment-type-config-table .pay-icon.edit {                    background-position-y: -100px;                }                #payment-type-config-table .pay-icon.delete {                    background-position-y: -120px;                }            #payment-type-config-table .pay-btn {                display: inline-block;                background-image: url(/Content/imgs/btn-confirm.png);                background-size: 48px 48px;                width: 24px;                height: 24px;            }                #payment-type-config-table .pay-btn:hover {                    background-position-x: -24px;                }                #payment-type-config-table .pay-btn.confirm {                }                #payment-type-config-table .pay-btn.cancel {                    background-position-y: -24px;                }            #payment-type-config-table label {                margin-bottom: 0;                margin-left: 5px;            }            #payment-type-config-table .switch {                display: inline-block;                background-image: url(/Content/imgs/bg-switch.png);                background-size: 42px 36px;                width: 42px;                height: 18px;            }                #payment-type-config-table .switch.on {                    background-position-y: 0;                }                #payment-type-config-table .switch.off {                    background-position-y: -18px;                }            #payment-type-config-table div.payment-type-name {                height: 72px;            }                #payment-type-config-table div.payment-type-name .name-show {                    padding-top: 21px;                }                #payment-type-config-table div.payment-type-name .text-overflow-ellipsis {                    display: -webkit-box;                    overflow: hidden;                    -webkit-line-clamp: 2;                    -webkit-box-orient: vertical;                    max-width: 170px;                }                #payment-type-config-table div.payment-type-name .with-notes {                    float: right;                    margin-top: -20px;                    margin-right: 5px;                }                #payment-type-config-table div.payment-type-name .wiht-out-notes {                    float: right;                    margin-right: 5px;                }            #payment-type-config-table div.payment-type-config-item {            }                #payment-type-config-table div.payment-type-config-item .enabled-config {                    width: 26%;                    line-height: 66px;                    display: inline-block;                    border-right: 1px solid #e3e3e3;                    vertical-align: middle;                }                #payment-type-config-table div.payment-type-config-item .other-config {                    width: 70%;                    height: 75px;                    display: inline-block;                    vertical-align: middle;                    padding-top: 3px;                    padding-left: 3px;                }        #payment-type-config .enyo-navbar li {            padding: 0px;            margin-right: 15px;        }        #payment-type-config #payment-type-config-new .k-grid .k-grid-header {            height: 32px;            padding-top: 7px;            margin-top: 10px;        }            #payment-type-config #payment-type-config-new .k-grid .k-grid-header th {                text-align: center;                color: #FFFFFF;                font-size: 13px;            }        #payment-type-config #payment-type-config-new .type-tag {            font-family: PingFangSC-Medium;            font-size: 13px;            color: #3E3A3F;            background-color: #E0FAFF;            border: 1px solid #CFDBDD;            height: 30px;            padding: 5px 15px;        }        #payment-type-config #payment-type-config-new .k-minus {            width: 6px;            height: 6px;            margin: 5px;            background-image: url(../../Content/imgs/icon-dropdown.png);            background-position: -9px -37px;            background-size: 66px 48px;            background-repeat: no-repeat;            float: left;        }        #payment-type-config #payment-type-config-new .k-plus {            width: 6px;            height: 6px;            margin: 5px;            background-image: url(../../Content/imgs/icon-dropdown.png);            background-position: -8px -7px;            background-size: 66px 48px;            background-repeat: no-repeat;            float: left;        }        #payment-type-config #payment-type-config-new .payment-type-table {            width: 100%;            margin-bottom: 5px;        }            #payment-type-config #payment-type-config-new .payment-type-table .category-name:hover {                color: black;                cursor: pointer;            }            #payment-type-config #payment-type-config-new .payment-type-table .ok-tag {                color: #00A6C9;            }            #payment-type-config #payment-type-config-new .payment-type-table .cancel-tag {                color: red;            }            #payment-type-config #payment-type-config-new .payment-type-table tr {                height: 38px;                border: 1px solid #CFDBDD;                font-size: 13px;                color: #575D6A;                text-align: center;            }                #payment-type-config #payment-type-config-new .payment-type-table tr .td-switch {                    /*padding-bottom: 27px;*/                }                #payment-type-config #payment-type-config-new .payment-type-table tr .td-command {                    padding-left: 20px;                }                    #payment-type-config #payment-type-config-new .payment-type-table tr .td-command button {                        float: left;                    }        #payment-type-config #payment-type-upgrade-info .info-title {            font-family: PingFangSC-Medium;            font-size: 14px;            color: #3D3D3D;            letter-spacing: 0;        }        #payment-type-config #payment-type-upgrade-info .info-context {            font-family: PingFangSC-Regular;            font-size: 13px;            color: #000000;            line-height: 20px;            margin-left: 20px;        }        #payment-type-config #payment-type-upgrade-info button {            font-family: PingFangSC-Medium;            font-size: 14px;            color: #2E4050;            letter-spacing: 0;            border: none;            margin: 10px 20px;            background: #FFC021;            border-radius: 1px;            padding: 0px 20px;            height: 36px;        }    </style>    <div ng-if="isShowOldPaymentType()">        <practice-payment-type-old-view is-upgrade-enabled="isUpgradeEnabled"                                        is-upgrade-unstart="isUpgradeUnstart"                                        is-upgrade-start="isUpgradeStart"                                        is-upgrade-complete="isUpgradeComplete"                                        is-init-upgraded="isInitUpgraded"                                        is-new-payment-type-enabled="isNewPaymentTypeEnabled"                                        has-edit-permission="hasEditPermission"                                        on-upgrade-start="onUpgradeStart"                                        is-force-new-report-enabled="isForceNewReportEnabled"                                        switch-page="switchPage"                                        is-use-parent-charge-item="isUseParentChargeItem">        </practice-payment-type-old-view>    </div>    <div ng-if="isShowUpgradePaymentType()">        <practice-payment-type-upgrade-view on-upgrade-complete="onUpgradeComplete"                                            payment-type-categories="paymentTypeCategories"                                            all-payment-types="paymentTypes"                                            unknown-payment-types="unknownPaymentTypes"                                            create-or-edit-payment-type="createOrEditPaymentType"                                            create-or-edit-payment-type-category="createOrEditPaymentTypeCategory"                                            on-upgrade-cancel="onUpgradeCancel"                                            is-force-new-report-enabled="isForceNewReportEnabled"                                            switch-page="switchPage"                                            has-edit-permission="hasEditPermission"                                            is-use-parent-charge-item="isUseParentChargeItem">        </practice-payment-type-upgrade-view>    </div>    <div ng-if="isShowNewPaymentType()">        <practice-payment-type-new-view is-upgrade-enabled="isUpgradeEnabled"                                        is-upgrade-unstart="isUpgradeUnstart"                                        is-upgrade-start="isUpgradeStart"                                        is-upgrade-complete="isUpgradeComplete"                                        is-init-upgraded="isInitUpgraded"                                        is-new-payment-type-enabled="isNewPaymentTypeEnabled"                                        has-edit-permission="hasEditPermission"                                        is-custom-category-enabled="isCustomCategoryEnabled"                                        switch-page="switchPage"                                        is-show-upgrade-complete-info="isShowUpgradeCompleteInfo"                                        is-use-parent-charge-item="isUseParentChargeItem"                                        is-force-new-report-enabled="isForceNewReportEnabled">        </practice-payment-type-new-view>    </div></div>');templateCache.put('/app/practice/views/practice-systemconfig/practice-emrtemplate-itemsetting-edit.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}预约项目</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px;">        <form style="margin-left:15px" class="form-horizontal" name="practiceForm" id="practiceForm">            <div class="form-group">                <label class="col-sm-4 control-label myLable myRequired">名称:</label>                <div class="col-sm-6 input-container">                    <input class="form-control" ng-model="transactioncode.name" style="width:200px;" />                </div>            </div>            <div class="form-group">                <label class="col-sm-4 control-label myLable myRequired">颜色:</label>                <div class="col-sm-6 input-container" id="div_color">                </div>            </div>            <div class="form-group">                <label class="col-sm-4 control-label">预约项目大类:</label>                <div class="col-sm-6 input-container">                    <input type="text" id="div_category" style="width:200px;">                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="saveCheck()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/practice/views/practice-systemconfig/practice-systemconfig-charge-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <input type="checkbox" id="isDisable" ng-model="chargeConfig.applyCDTCharge" style="margin-left:20px" />是否启用CDT收费方式    </div>    <div style="margin-top:10px;">        <input type="checkbox" id="isDisable" ng-model="chargeConfig.applyRCCharge" style="margin-left:20px" />是否启用跨科收费统计    </div>    <div style="margin-top:10px;">        <input type="checkbox" id="isDisable" ng-model="chargeConfig.allowSingleDiscount" style="margin-left:20px" />是否开启单项打折    </div>    <div class="form-group" style="padding-left:20px;margin-top:10px;">        <button type="button" class="btn btn-primary" ng-click="saveConfig()">保存</button>    </div></div>');templateCache.put('/app/practice/views/practice-systemconfig/practice-systemconfig-dashboard-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <input type="checkbox" id="isDisable" ng-model="protection.isProtectionAmount" style="margin-left:20px" />是否保护财务数据        <button type="button" class="btn btn-primary" ng-click="saveProtection()" style="margin-left:20px">保存</button>    </div>    <div class="panel panel-default" style="width:500px;margin-top:25px">        <div class="panel-body" id="dashboardList">            <table class=" table table-striped table-bordered">                <thead>                    <tr>                        <th class="text-center">#</th>                        <th class="text-center">是否显示</th>                        <th class="text-center">名称</th>                        <th class="text-center">操作</th>                    </tr>                </thead>                <tbody>                    <tr ng-repeat="item in dashboard">                        <td class="text-center">{{$index+1}}</td>                        <td class="text-center"><input type="checkbox" ng-click="updateConfig($index)" id="isDisable" ng-model="item.configValue" style="margin-left:20px" /></td>                        <td class="text-center">{{item.coments}}</td>                        <td class="text-center">                            <button class="btn btn-default" ng-click="up($index)" title="上移">                                <span class="glyphicon glyphicon-arrow-up"></span>                            </button>                            <button class="btn btn-default" ng-click="down($index)" title="下移">                                <span class="glyphicon glyphicon-arrow-down"></span>                            </button>                        </td>                    </tr>                </tbody>            </table>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/practice/views/practice-systemconfig/practice-systemconfig-emr-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <input type="checkbox" id="isDisable" ng-model="EMRTimeLimit.isDisableTimeLimit" style="margin-left:20px" />是否启用病历时限配置        <div class="form-group" style="width:500px;margin-top:10px;">            <label for="timelimit" class="col-sm-3 control-label" style="margin-top:5px">病历时限</label>            <div class="col-sm-3 input-container">                <input class="form-control" ng-disabled="!EMRTimeLimit.isDisableTimeLimit" ng-model="EMRTimeLimit.timeLimit" ares-patient-contact-input />            </div>            <label for="timelimit" class="control-label" style="margin-top:5px;margin-left:-10px">小时</label>        </div>    </div>    <div class="form-group" style="padding-left:20px;margin-top:10px;">        <button type="button" class="btn btn-primary" ng-click="saveEMR()">保存</button>    </div>    <notification-upload-success></notification-upload-success></div>');})();